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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user