Index: /trunk/BNC/bncmodel.cpp
===================================================================
--- /trunk/BNC/bncmodel.cpp	(revision 3330)
+++ /trunk/BNC/bncmodel.cpp	(revision 3331)
@@ -1024,4 +1024,11 @@
           + QByteArray::number(maxRes, 'f', 3) + "\n"; 
     _QQ = QQsav;
+    QVectorIterator<bncParam*> itPar(_params);
+    while (itPar.hasNext()) {
+      bncParam* par = itPar.next();
+      if (par->type == bncParam::AMB_L3 && par->prn == prnRemoved) {
+        par->numEpo = 0;
+      }
+    }
   }
 
@@ -1337,4 +1344,20 @@
           return failure;
         }
+        unsigned numSatNoSlip = 0;
+        QVectorIterator<bncParam*> itPar(_params);
+        while (itPar.hasNext()) {
+          bncParam* par = itPar.next();
+          if (par->type == bncParam::AMB_L3 && par->prn[0] == 'G') {
+            if (par->numEpo >= 1) {
+              ++numSatNoSlip;
+            }
+          }
+        }
+        if (numSatNoSlip > 0 && numSatNoSlip < MINOBS) {
+          restoreState();
+          _log += "bncModel::update_p: not enough GPS satellites without cycle-slips\n";
+          emit newMessage(_log, false);
+          return failure;
+        }
       }
       
