Ticket #49820: patch-gsl.cc.diff
File patch-gsl.cc.diff, 827 bytes (added by Schamschula (Marius Schamschula), 9 years ago) |
---|
-
gsl.cc
old new 27 27 #include <gsl/gsl_rng.h> 28 28 #include <gsl/gsl_randist.h> 29 29 #include <gsl/gsl_cdf.h> 30 #include <gsl/gsl_version.h> 30 31 31 32 #include "opsymbols.h" 32 33 … … 1088 1089 addGSLDOUBLE2Func<gsl_sf_ellint_F>(SYM(F)); 1089 1090 addGSLDOUBLE2Func<gsl_sf_ellint_E>(SYM(E)); 1090 1091 addGSLDOUBLE3Func<gsl_sf_ellint_P>(SYM(P),SYM(phi),SYM(k),SYM(n)); 1092 #if GSL_MAJOR_VERSION >= 2 1093 addGSLDOUBLE2Func<gsl_sf_ellint_D>(SYM(D),SYM(phi),SYM(k)); 1094 #else 1091 1095 addGSLDOUBLE3Func<gsl_sf_ellint_D>(SYM(D),SYM(phi),SYM(k),SYM(n)); 1096 #endif 1092 1097 addGSLDOUBLE2Func<gsl_sf_ellint_RC>(SYM(RC),SYM(x),SYM(y)); 1093 1098 addGSLDOUBLE3Func<gsl_sf_ellint_RD>(SYM(RD),SYM(x),SYM(y),SYM(z)); 1094 1099 addGSLDOUBLE3Func<gsl_sf_ellint_RF>(SYM(RF),SYM(x),SYM(y),SYM(z));