src/types/matrix.cpp

changeset 1063
1f15c52c11f6
parent 1062
4119185b56ca
child 1065
c8ecddbd99e9
--- 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);
 }
 

mercurial