Check_constraint function returns true when parameters are set to wrong values #1157
Open
2 tasks done
Labels
class::improvement
Cleanup that doesn't affect functionality
loc::backend
This issue concerns the C++ backend implementation.
model::abm
This issue concerns any kind of agent-based model.
model::ode
This issue concerns any kind of ODE-based model.
Motivation / Current Behaviour
The check_constraint functions should check whether the parameters are set to acceptible values e.g. if stay times are > 0. If the constraint is not fulfilled i.e. a parameter has a not permitted value, the function returns true.
Enhancement description
It would be more intuitive if the function returned true for permitted values and false for not permitted values.
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: