# | Line 84 | Line 84 | RealType SphericalHarmonic::LegendreP(int l,int m, Rea | |
---|---|---|
84 | printf("LegendreP: m < 0: l = %d\tm = %d\tx = %lf\n", l, m, x); | |
85 | return std::numeric_limits <RealType>:: quiet_NaN(); | |
86 | } else { | |
87 | < | RealType temp1, temp2, temp3, temp4, temp5; |
87 | > | RealType temp1, temp2(0.0), temp3, temp4, temp5; |
88 | temp3=1.0; | |
89 | ||
90 | if (m>0) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |