Fixed a bug in Matrix::invert(..) which did not set full_realised=true,

so that one Matrices which had not previously be initialized we're
erronously initialized later in the code resetting it to identity.
This commit is contained in:
Robert Osfield
2001-10-14 14:23:03 +00:00
parent 39ea16aad7
commit 6bb865af25

View File

@@ -442,6 +442,8 @@ bool Matrix::invert( const Matrix& _m )
for ( j = 0; j < n; j++ )
b[ i * n + j] = m[ row[ i]][j + n];
fully_realized = true;
return true; // It worked
}