Skip to content
Snippets Groups Projects
Commit ee3f43d4 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Improve warning verbosity

parent 01ae631e
No related branches found
No related tags found
1 merge request!157Kfpackmanager
......@@ -58,7 +58,7 @@ ConstraintBasePtr FeatureBase::addConstraint(ConstraintBasePtr _co_ptr)
if (getProblem() != nullptr)
getProblem()->addConstraintPtr(_co_ptr);
else
std::cout << "WARNING: ADDING CONSTRAINT TO A FEATURE NOT CONNECTED WITH PROBLEM." << std::endl;
std::cout << "WARNING: ADDING CONSTRAINT " << _co_ptr->id() << " TO FEATURE " << this->id() << " NOT CONNECTED WITH PROBLEM." << std::endl;
return _co_ptr;
}
......
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