We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa1f677 commit 7b35c8dCopy full SHA for 7b35c8d
test/src/sparse_qp_wrapper.cpp
@@ -340,7 +340,7 @@ TEST_CASE("ProxQP::sparse: sparse random strongly convex qp with equality and "
340
<< std::endl;
341
std::cout << "setup timing " << qp2.results.info.setup_time
342
<< " solve time " << qp2.results.info.solve_time << std::endl;
343
- CHECK(qp.results.x == qp2.results.x);
+ CHECK(qp.results.x.isApprox(qp2.results.x));
344
}
345
346
0 commit comments