Skip to content

Commit

Permalink
AP_Math: tests: we no longer expect and exception when limiting corne…
Browse files Browse the repository at this point in the history
…r case
  • Loading branch information
peterbarker committed Jan 5, 2025
1 parent 3098bc9 commit 0c64367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Math/tests/test_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ TEST(Control, test_limit_accel)
EXPECT_FALSE(limit_accel_xy(vel, accel, accel_max));
}

EXPECT_TRUE(signal_caught);
EXPECT_FALSE(signal_caught);

// now restore the original fpe handling
if (fesetexceptflag(&old_except_flags, excepts) == -1) {
Expand Down

0 comments on commit 0c64367

Please sign in to comment.