Commit 837ab1e3 authored by andreadelprete's avatar andreadelprete
Browse files

[eigquadprog-fast] In DEBUG, in case a constraint is not verified, set the...

[eigquadprog-fast] In DEBUG, in case a constraint is not verified, set the status flag to ERROR (even if the solver said the problem has been solved)
parent d802f96e
......@@ -219,6 +219,7 @@ namespace tsid
const ConstraintBase* constr = it->second;
if(constr->checkConstraint(x)==false)
{
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