--- trunk/SHAPES/SHFunc.cpp 2004/06/24 15:31:52 1295 +++ trunk/SHAPES/SHFunc.cpp 2004/06/24 19:06:47 1300 @@ -44,7 +44,7 @@ double SHFunc::LegendreP (int l, int m, double x) { double SHFunc::LegendreP (int l, int m, double x) { // check parameters if (m < 0 || m > l || fabs(x) > 1.0) { - printf("LegendreP got a bad argument\n"); + printf("LegendreP got a bad argument: l = %d\tm = %d\tx = %lf\n", l, m, x); return NAN; }