memilio icon indicating copy to clipboard operation
memilio copied to clipboard

ParameterDistributionNormal does not work if only mean and stddev are set

Open jubicker opened this issue 1 year ago • 0 comments

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

  1. Create object ParameterDistributionNormal(mean, std_dev).
  2. 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

jubicker avatar Sep 30 '24 12:09 jubicker