--- trunk/OOPSE-2.0/src/math/RealSphericalHarmonic.cpp 2004/10/18 16:30:04 1591 +++ trunk/OOPSE-2.0/src/math/RealSphericalHarmonic.cpp 2004/10/26 22:25:02 1651 @@ -15,7 +15,7 @@ double RealSphericalHarmonic::getValueAt(double costhe // associated Legendre polynomial p = LegendreP(L,M,costheta); - if (functionType == SH_SIN) { + if (functionType == RSH_SIN) { phase = sin((double)M * phi); } else { phase = cos((double)M * phi);