Browse Source

BUG: Distributions: BetaScaled no longer ignores optional random source parameter #547

spatial
Christoph Ruegg 9 years ago
parent
commit
c9a203728c
  1. 2
      src/Numerics/Distributions/BetaScaled.cs

2
src/Numerics/Distributions/BetaScaled.cs

@ -80,7 +80,7 @@ namespace MathNet.Numerics.Distributions
throw new ArgumentException(Resources.InvalidDistributionParameters); throw new ArgumentException(Resources.InvalidDistributionParameters);
} }
_random = SystemRandomSource.Default; _random = randomSource ?? SystemRandomSource.Default;
_shapeA = a; _shapeA = a;
_shapeB = b; _shapeB = b;
_location = location; _location = location;

Loading…
Cancel
Save