Ticket #40988: patch-src-gsl_fun.cpp.diff
File patch-src-gsl_fun.cpp.diff, 494 bytes (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
src/gsl_fun.cpp
https://sourceforge.net/p/gnudatalanguage/bugs/577/
old new 3889 3889 res[j] = sign * sphPlm.val; 3890 3890 */ 3891 3891 res[j] = sign * gsl_sf_legendre_sphPlm(l, abs(m), cos(theta[j * step_theta])); 3892 res[j] *= exp(complex<T_phi>(0., m * phi[j * step_phi]));3892 res[j] *= T_res(std::exp(complex<T_phi>(0., m * phi[j * step_phi]))); 3893 3893 } 3894 3894 } 3895 3895 template <class T_phi, class T_res>