diff --git a/test/common_tester.h b/test/common_tester.h index 938e77e1..48e1d99c 100644 --- a/test/common_tester.h +++ b/test/common_tester.h @@ -1170,7 +1170,7 @@ class JacobianTester void evalJrJrcompJl() { const Tangent& delta = getDelta(); - EXPECT_EIGEN_NEAR(delta.exp().inverse().adj() * delta.ljac(), (-delta).ljac()); + EXPECT_EIGEN_NEAR(delta.exp().adj() * (-delta).ljac(), delta.ljac()); } void setOmegaOrder(const double w_order) { w_order_ = w_order; }