Index: /trunk/Cosy/main/MMoonPointing.cc
===================================================================
--- /trunk/Cosy/main/MMoonPointing.cc	(revision 9883)
+++ /trunk/Cosy/main/MMoonPointing.cc	(revision 9884)
@@ -138,9 +138,12 @@
     // This is a sanity check for the case the Interpolation failed
     const Double_t norm = TMath::Hypot(fcos, fsin);
-    if (TMath::Abs(norm-1)<0.001)
+    if (TMath::Abs(norm-1)>0.001)
     {
         gLog << warn << "WARNING - Local moon position Zd/Az=";
         gLog << moon.Zd()*TMath::RadToDeg() << "/" << moon.Az()*TMath::RadToDeg();
         gLog << " out of range of table for interpolation." << endl;
+        gLog << "          fcos=" << fcos << endl;
+        gLog << "          fsin=" << fsin << endl;
+        gLog << "          norm=" << norm << endl;
         return kFALSE;
     }
