Added missing return statement to if() block in Matrix::mult code. Bug spotted

by Ray Conner.
This commit is contained in:
Robert Osfield 2002-07-25 21:58:53 +00:00
parent 95bdcfc3f6
commit 150b055053

View File

@ -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