Fix an error

This commit is contained in:
Erik Hofman 2016-11-22 14:36:28 +01:00
parent 22a74c63b4
commit e96834fcc6

View File

@ -300,7 +300,7 @@ inline
SGMatrix<T> SGMatrix<T>
operator-(SGMatrix<T> m) operator-(SGMatrix<T> m)
{ {
for (unsigned i = 0; i < SGMatrix<T>::nRows; ++i) for (unsigned i = 0; i < SGMatrix<T>::nEnts; ++i)
m[i] = -m[i]; m[i] = -m[i];
return m; return m;
} }