Skip to content

Commit

Permalink
make test Jl and Adj slightly simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
joansola committed Mar 19, 2024
1 parent bbf1f16 commit 805bf7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common_tester.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit 805bf7a

Please sign in to comment.