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

Softer assertions

parent 070036d8
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-15);
assert(std::abs(D[1]) < 1e-13);
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