diff --git a/test/test_internal_points.cpp b/test/test_internal_points.cpp index d0ee44008..ab06cd9b3 100644 --- a/test/test_internal_points.cpp +++ b/test/test_internal_points.cpp @@ -66,6 +66,7 @@ void call_test_max_ball_sparse() { // Initialize order polytope from the poset OrderPolytope OP(poset); + OP.normalize(); SpMT Asp = OP.get_mat(); MT A = MT(OP.get_mat()); @@ -84,7 +85,7 @@ void call_test_max_ball_sparse() { CHECK(OP.is_in(Point(center)) == -1); auto [E, x0, round_val] = inscribed_ellipsoid_rounding(OP, Point(center)); - CHECK((center - center_).norm() <= 1e-06); + CHECK((center - center_).norm() <= 5e-04); CHECK(std::abs(radius - 0.207107) <= 1e-06); CHECK(converged); }