Skip to content

Commit

Permalink
fix build with 2.067
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed Feb 21, 2015
1 parent 7def6ab commit efe3853
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/bessel.d
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ void besselK(double x, double alpha, Flag!"ExponentiallyScaled" expFlag, double[
1.9841269840928373686e-4,.0083333333333334751799,
.16666666666666666446 ];
/*---------------------------------------------------------------------*/
static immutable double estm[6] = [ 52.0583,5.7607,2.7782,14.4303,185.3004, 9.3715 ];
static immutable double estf[7] = [ 41.8341,7.1075,6.4306,42.511,1.35633,84.5096,20.];
static immutable double[6] estm = [ 52.0583,5.7607,2.7782,14.4303,185.3004, 9.3715 ];
static immutable double[7] estf = [ 41.8341,7.1075,6.4306,42.511,1.35633,84.5096,20.];

/* Local variables */
ptrdiff_t iend, i, j, k, m, ii, mplus1;
Expand Down Expand Up @@ -1308,7 +1308,7 @@ void besselJ(double x, double alpha, double[] b, ref ptrdiff_t ncalc)
/*---------------------------------------------------------------------
* Factorial(N)
*--------------------------------------------------------------------- */
static immutable double fact[25] = [ 1.,1.,2.,6.,24.,120.,720.,5040.,40320.,
static immutable double[25] fact = [ 1.,1.,2.,6.,24.,120.,720.,5040.,40320.,
362880.,3628800.,39916800.,479001600.,6227020800.,87178291200.,
1.307674368e12,2.0922789888e13,3.55687428096e14,6.402373705728e15,
1.21645100408832e17,2.43290200817664e18,5.109094217170944e19,
Expand Down Expand Up @@ -1846,7 +1846,7 @@ v for non-negative argument X, and non-negative order N+ALPHA.
Coefficients for Chebshev polynomial expansion of
1/gamma(1-x), abs(x) <= .5
----------------------------------------------------------------------*/
static immutable double ch[21] = [ -6.7735241822398840964e-24,
static immutable double[21] ch = [ -6.7735241822398840964e-24,
-6.1455180116049879894e-23,2.9017595056104745456e-21,
1.3639417919073099464e-19,2.3826220476859635824e-18,
-9.0642907957550702534e-18,-1.4943667065169001769e-15,
Expand Down

0 comments on commit efe3853

Please sign in to comment.