Fix bug in usage of tr1::variate_generator
The RNG object must be passed by _reference_ not by value, as is the default! Otherwise the RNG state does not change...
Showing
Please register or sign in to comment
The RNG object must be passed by _reference_ not by value, as is the default! Otherwise the RNG state does not change...