Correct compilation warnings with exceptions (#76)
This commit is contained in:
@@ -58,7 +58,7 @@ void VelSolver::solveEquations()
|
||||
try {
|
||||
this->basicSolveEquations();
|
||||
}
|
||||
catch (SingularMatrixError ex) {
|
||||
catch (const SingularMatrixError& ex) {
|
||||
this->handleSingularMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user