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  
    38893889          res[j] = sign * sphPlm.val;
    38903890        */
    38913891        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])));
    38933893      }
    38943894  }
    38953895  template <class T_phi, class T_res>