Skip to content

Commit d1f3acc

Browse files
committed
another tolerance
1 parent 535e57d commit d1f3acc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check/TestLpModification.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ TEST_CASE("LP-modification", "[highs_data]") {
826826
callRun(highs, options.log_options, "highs.run()", HighsStatus::kOk);
827827

828828
highs.getInfoValue("objective_function_value", optimal_objective_value);
829-
REQUIRE(optimal_objective_value == avgas_optimal_objective_value);
829+
REQUIRE(optimal_objective_value - avgas_optimal_objective_value < 1e-10);
830830

831831
const HighsLp& local_lp = highs.getLp();
832832
row0135789_lower[0] = local_lp.row_lower_[0];

0 commit comments

Comments
 (0)