From 805bf7a299dacbe70f64dc3d4f35a1bf3b5f266f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Sol=C3=A0?= Date: Tue, 19 Mar 2024 14:29:08 +0100 Subject: [PATCH] make test Jl and Adj slightly simpler --- test/common_tester.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }