--- a/src/types/matrix.cpp Sat Jan 28 13:49:09 2017 +0200 +++ b/src/types/matrix.cpp Sat Jan 28 14:01:19 2017 +0200 @@ -57,7 +57,7 @@ */ Matrix::Matrix (const std::initializer_list<double>& values) { - if (values.size() == 9) + if (length(values) == 9) memcpy (&m_values[0], values.begin(), sizeof m_values); }