Skip to content
Snippets Groups Projects
Commit b2a87555 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Weaken assertions

parent 24a7ea8e
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ template <class MyConvexProblemTypeTEMPLATE> class MyBlockProblem {
psi.subDiff(0, D);
if (D[1] > 0) {
// NOTE: Numerical instability can actually get us here
assert(std::abs(D[1]) < 1e-13);
assert(std::abs(D[1]) < 1e-12);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment