--- 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)); }