colgreen / Redzen

General purpose C# code library.
Other
94 stars 16 forks source link

ZigguratGaussian - always returns mean #19

Closed studentutu closed 1 year ago

studentutu commented 1 year ago

No matter which type of distribution of the ZigguratGaussian function used - it always returns mean I tried to use older releases - the same thing. Are you sure, this will work on Xamarin - IOS/Android/ other devices?

colgreen commented 1 year ago

Hi @studentutu. To help understand the problem could you please post some example code that demonstrates the problem.

Thanks.

studentutu commented 1 year ago

sorry incorrectly used the Random.Int where we would need to use Random.Long. Works as expected