make exception as reference

release/4.3a0
Varun Agrawal 2020-03-22 20:03:10 -04:00
parent d2d5ce1166
commit c2d7df3f14
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ TEST (EssentialMatrix, rotate) {
Matrix actH1, actH2;
try {
bodyE.rotate(cRb, actH1, actH2);
} catch (exception e) {
} catch (exception& e) {
} // avoid exception
Matrix expH1 = numericalDerivative21(rotate_, bodyE, cRb), //
expH2 = numericalDerivative22(rotate_, bodyE, cRb);