Skip to content

Commit 2390f84

Browse files
committed
unittest: fix by setting eps_primal_inf smaller
- on windows, some feasible problems where detected as infeasible, setting a stricter threshold solves this issue
1 parent be49962 commit 2390f84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/src/dense_qp_with_eq_and_in.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ DOCTEST_TEST_CASE("sparse random strongly convex qp with degenerate inequality "
188188
strong_convexity_factor);
189189
proxqp::dense::QP<T> qp{ dim, n_eq, n_in }; // creating QP object
190190
qp.settings.eps_abs = eps_abs;
191+
qp.settings.eps_primal_inf = 1e-7;
191192
qp.settings.eps_rel = 0;
192193
qp.init(qp_random.H,
193194
qp_random.g,

0 commit comments

Comments
 (0)