On 7 Apr 2016, at 12:46, [email protected] wrote:

Specifically, the line that is causing the problem is line 22, the call to quantile in the return statement:

   // chi^2 distribution with df d.o.f:
   boost::math::chi_squared_distribution<double> chisq(df);

   // Find x s.t. F(x; df) = p where F is the CDF of the Chi^2 dist with df d.o.f
   return quantile(chisq, p);

I don�t have dials set up, unfortunately. Suggestion: make chisq volative�