Fix an error
This commit is contained in:
parent
22a74c63b4
commit
e96834fcc6
@ -300,7 +300,7 @@ inline
|
||||
SGMatrix<T>
|
||||
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];
|
||||
return m;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user