Skip to content

Commit

Permalink
Fix compilation with GSL 2
Browse files Browse the repository at this point in the history
which dropped the unused third argument 'n' in gsl_sf_ellint_D.
Thanks to https://github.com/opoplawski.
  • Loading branch information
vitaut committed Nov 17, 2015
1 parent dbece59 commit eeb32b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gsl/amplgsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,13 @@ static double amplgsl_sf_ellint_E(arglist *al) {
}

WRAP_CHECKED(gsl_sf_ellint_P, ARGS3_PREC)

#if GSL_MAJOR_VERSION >= 2
WRAP_CHECKED(gsl_sf_ellint_D, ARGS2_PREC)
#else
WRAP_CHECKED(gsl_sf_ellint_D, ARGS3_PREC)
#endif

WRAP_CHECKED(gsl_sf_ellint_RC, ARGS2_PREC)
WRAP_CHECKED(gsl_sf_ellint_RD, ARGS3_PREC)
WRAP_CHECKED(gsl_sf_ellint_RF, ARGS3_PREC)
Expand Down

0 comments on commit eeb32b4

Please sign in to comment.