Commit 864f6db4 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Replace an assert by debug message.

parent 8a434264
......@@ -88,7 +88,9 @@ namespace hpp {
void computeSolution (const vector_t& v)
{
xSol.noalias() = xStar + PK * v;
assert (isSatisfied(xSol));
#ifdef HPP_DEBUG
isSatisfied(xSol);
#endif // HPP_DEBUG
}
/// Returns \f$ ( J \times x - b ).isZero (threshold) \f$
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment