diff --git a/boost/random/normal_distribution.hpp b/boost/random/normal_distribution.hpp
index 486411e..36acf0a 100644
|
a
|
b
|
public:
|
| 39 | 39 | |
| 40 | 40 | explicit normal_distribution(const result_type& mean_arg = result_type(0), |
| 41 | 41 | const result_type& sigma_arg = result_type(1)) |
| 42 | | : _mean(mean_arg), _sigma(sigma_arg), _valid(false) |
| | 42 | : _mean(mean_arg), _sigma(sigma_arg), _r1(0), _r2(0), _cached_rho(0), _valid(false) |
| 43 | 43 | { |
| 44 | 44 | assert(_sigma >= result_type(0)); |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | // compiler-generated copy constructor is NOT fine, need to purge cache |
| 48 | 48 | normal_distribution(const normal_distribution& other) |
| 49 | | : _mean(other._mean), _sigma(other._sigma), _valid(false) |
| | 49 | : _mean(other._mean), _sigma(other._sigma), _r1(0), _r2(0), _cached_rho(0), _valid(false) |
| 50 | 50 | { |
| 51 | 51 | } |
| 52 | 52 | |