Skip to content
Snippets Groups Projects
Commit ea74eacb authored by Médéric Fourmy's avatar Médéric Fourmy
Browse files

Wrong warning fixed

parent 9f3340c2
No related branches found
No related tags found
1 merge request!296Wrong warning fixed
Pipeline #3832 passed
......@@ -157,7 +157,7 @@ void FactorBase::link(FeatureBasePtr _ftr_ptr)
this->setFeature(_ftr_ptr);
// set problem ( and register factor )
WOLF_WARN_COND(this->getProblem() == nullptr, "ADDING FACTOR ", this->id(), " TO FEATURE ", _ftr_ptr->id(), " NOT CONNECTED WITH PROBLEM.");
WOLF_WARN_COND(_ftr_ptr->getProblem() == nullptr, "ADDING FACTOR ", this->id(), " TO FEATURE ", _ftr_ptr->id(), " THAT IS NOT CONNECTED WITH PROBLEM.");
this->setProblem(_ftr_ptr->getProblem());
// constrained by
......
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