USArmy-Corps-of-Engineers-RMC / Numerics

Numerics is a free and open-source library for .NET developed by USACE-RMC, providing a comprehensive set of methods and algorithms for numerical computations and statistical analysis.
Other
18 stars 2 forks source link

Bernoulli.cs -ValidateParameters #79

Closed tikigonzo closed 1 month ago

tikigonzo commented 1 month ago

Found a bug in Bernoulli.cs line 276 when testing edge cases and changed return ArgumentOutOfRangeException to throw in the first if statement and testing worked!