ParameterDistributionNormal does not work if only mean and stddev are set #1131
Labels
class::bug
Bugs found in the software
loc::backend
This issue concerns the C++ backend implementation.
model::abm
This issue concerns any kind of agent-based model.
model::hybrid
model::ide
This issue concerns any kind of integro differential equations-based model.
model::ode
This issue concerns any kind of ODE-based model.
Bug description
The class ParameterDistributionNormal has several constructors, one where only mean and standard_dev are set. If this constructor is used the members m_lower_bound and m_upper_bound are not set i.e. they are 0. When the function get_rand_sample() is called mean and standard_dev are set to zero as well. (in check_quantiles)
Version
Linux
To reproduce
Relevant log output
No response
Add any relevant information, e.g. used compiler, screenshots.
No response
Checklist
The text was updated successfully, but these errors were encountered: