make exception as reference
parent
d2d5ce1166
commit
c2d7df3f14
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue