X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fgmxana%2Fnsfactor.cpp;fp=src%2Fgromacs%2Fgmxana%2Fnsfactor.cpp;h=ceb7e2841845e20f90e9d99f9cbfc71398eeced0;hb=c3f2d46e4047f0c465f7234b3784a2fa6f02a065;hp=18b682fc4aade39d753bb2b91efdb55755f83a70;hpb=0595b4a4c763a0bc574658992081abf8b0abc3fe;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/gmxana/nsfactor.cpp b/src/gromacs/gmxana/nsfactor.cpp index 18b682fc4a..ceb7e28418 100644 --- a/src/gromacs/gmxana/nsfactor.cpp +++ b/src/gromacs/gmxana/nsfactor.cpp @@ -379,7 +379,7 @@ gmx_static_structurefactor_t *convert_histogram_to_intensity_curve (gmx_radial_d { for (j = 0; j < pr->grn; j++) { - sq->s[i] += (pr->gr[j]/pr->r[j])*sin(sq->q[i]*pr->r[j]); + sq->s[i] += (pr->gr[j]/pr->r[j])*std::sin(sq->q[i]*pr->r[j]); } sq->s[i] /= sq->q[i]; } @@ -390,7 +390,7 @@ gmx_static_structurefactor_t *convert_histogram_to_intensity_curve (gmx_radial_d { for (j = 0; j < pr->grn; j++) { - sq->s[i] += (pr->gr[j]/pr->r[j])*sin(sq->q[i]*pr->r[j]); + sq->s[i] += (pr->gr[j]/pr->r[j])*std::sin(sq->q[i]*pr->r[j]); } sq->s[i] /= sq->q[i]; }