--- trunk/OOPSE-3.0/src/math/RealSphericalHarmonic.cpp 2004/10/26 22:25:02 1651 +++ trunk/OOPSE-3.0/src/math/RealSphericalHarmonic.cpp 2004/10/29 22:28:45 1689 @@ -14,7 +14,7 @@ double RealSphericalHarmonic::getValueAt(double costhe // associated Legendre polynomial p = LegendreP(L,M,costheta); - + if (functionType == RSH_SIN) { phase = sin((double)M * phi); } else {