src/miscallenous.cpp

changeset 1068
283de3bd8b0e
parent 1067
819973864620
child 1072
9ce9496427f2
--- a/src/miscallenous.cpp	Sat Jan 28 16:30:27 2017 +0200
+++ b/src/miscallenous.cpp	Sat Jan 28 17:14:05 2017 +0200
@@ -75,13 +75,13 @@
 void applyToMatrix (Matrix& a, ApplyToMatrixFunction func)
 {
 	for (int i = 0; i < 9; ++i)
-		func (i, a[i]);
+		func(i, a.value(i));
 }
 
 void applyToMatrix (const Matrix& a, ApplyToMatrixConstFunction func)
 {
 	for (int i = 0; i < 9; ++i)
-		func (i, a[i]);
+		func(i, a.value(i));
 }
 
 

mercurial