Index: /trunk/BNC/src/PPP/pppClient.cpp
===================================================================
--- /trunk/BNC/src/PPP/pppClient.cpp	(revision 5857)
+++ /trunk/BNC/src/PPP/pppClient.cpp	(revision 5858)
@@ -285,4 +285,5 @@
       double   maxRes      = 0.0;
       int      maxResIndex = -1;
+      t_prn    maxResPrn;
       unsigned nObs        = 0;
       for (unsigned ii = 0; ii < obsVector.size(); ii++) {
@@ -293,7 +294,8 @@
           ++nObs;
           offGG += ll;
-          if (fabs(ll) > maxRes) {
-            maxRes      = fabs(ll);
+          if (fabs(ll) > fabs(maxRes)) {
+            maxRes      = ll;
             maxResIndex = ii;
+            maxResPrn   = satObs->prn();
           }
         }
@@ -307,5 +309,6 @@
       }
 
-      if (maxRes > 1000.0) {
+      if (fabs(maxRes) > 1000.0) {
+        LOG << "t_pppClient::cmpOffGG outlier " << maxResPrn.toString() << " " << maxRes << endl;
         obsVector.erase(obsVector.begin() + maxResIndex);
       }
