Index: trunk/BNC/src/PPP/pppClient.cpp
===================================================================
--- trunk/BNC/src/PPP/pppClient.cpp	(revision 7813)
+++ trunk/BNC/src/PPP/pppClient.cpp	(revision 7814)
@@ -236,5 +236,5 @@
         double res = rr.norm_Frobenius() - satObs->obsValue(tLC)
           - (satObs->xc()[3] - xyzc[3]) * t_CST::c;
-        if (fabs(res) > maxRes) {
+        if (fabs(res) > maxRes || isnan(res)) {
           maxRes      = fabs(res);
           maxResIndex = ii;
