memilio
memilio copied to clipboard
ParameterDistributionNormal does not work if only mean and stddev are set
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
- Create object ParameterDistributionNormal(mean, std_dev).
- Call function get_rand_sample()
Relevant log output
No response
Add any relevant information, e.g. used compiler, screenshots.
No response
Checklist
- [X] Attached labels, especially loc:: or model:: labels.
- [X] Linked to project