ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/SHAPES/SHFunc.cpp
(Generate patch)

Comparing trunk/SHAPES/SHFunc.cpp (file contents):
Revision 1295 by gezelter, Thu Jun 24 15:31:52 2004 UTC vs.
Revision 1300 by gezelter, Thu Jun 24 19:06:47 2004 UTC

# Line 44 | Line 44 | double SHFunc::LegendreP (int l, int m, double x) {
44   double SHFunc::LegendreP (int l, int m, double x) {
45    // check parameters
46    if (m < 0 || m > l || fabs(x) > 1.0) {
47 <    printf("LegendreP got a bad argument\n");
47 >    printf("LegendreP got a bad argument: l = %d\tm = %d\tx = %lf\n", l, m, x);
48      return NAN;
49    }
50    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines