Unverified Commit ffaa77af authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

reintroduce bugfix for bessel function distributed random numbers

parent 4ac7a26f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ double RanMars::besselexp(double theta, double alpha, double cp)
{
  double first,v1,v2;

  if (theta < 0.0 || alpha < 0.0 || alpha < 1.0)
  if (theta < 0.0 || alpha < 0.0 || alpha > 1.0)
    error->all(FLERR,"Invalid Bessel exponential distribution parameters");

  v1 = uniform();