Commit 2605f9c0 authored by Andrea Del Prete's avatar Andrea Del Prete
Browse files

[c++] Do not label problem as not solved if constraint violations are detected...

[c++] Do not label problem as not solved if constraint violations are detected because small violations may be tolerable (only affected debug mode)
parent 75e359fc
......@@ -207,7 +207,7 @@ namespace tsid
auto constr = it->second;
if(constr->checkConstraint(x)==false)
{
m_output.status = HQP_STATUS_ERROR;
// m_output.status = HQP_STATUS_ERROR;
if(constr->isEquality())
{
sendMsg("Equality "+constr->name()+" violated: "+
......
Markdown is supported
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