Added missing return statement to if() block in Matrix::mult code. Bug spotted
by Ray Conner.
This commit is contained in:
parent
95bdcfc3f6
commit
150b055053
@ -153,6 +153,7 @@ void Matrix::mult( const Matrix& lhs, const Matrix& rhs )
|
||||
if (&rhs==this)
|
||||
{
|
||||
preMult(lhs);
|
||||
return;
|
||||
}
|
||||
|
||||
// PRECONDITION: We assume neither &lhs nor &rhs == this
|
||||
|
Loading…
Reference in New Issue
Block a user