Index: trunk/BNC/combination/bnccomb.cpp
===================================================================
--- trunk/BNC/combination/bnccomb.cpp	(revision 3139)
+++ trunk/BNC/combination/bnccomb.cpp	(revision 3140)
@@ -604,5 +604,5 @@
     const double Pl = 1.0 / (0.05 * 0.05);
 
-    const int nCon = (_firstReg == false) ? 2 + MAXPRN_GPS : 2;
+    const int nCon = (_firstReg == false) ? 1 + MAXPRN_GPS : 1;
     Matrix         AA(nObs+nCon, nPar);  AA = 0.0;
     ColumnVector   ll(nObs+nCon);        ll = 0.0;
@@ -639,13 +639,4 @@
     const double Ph = 1.e6;
     int iCond = 1;
-    PP(nObs+iCond) = Ph;
-    for (int iPar = 1; iPar <= _params.size(); iPar++) {
-      cmbParam* pp = _params[iPar-1];
-      if      (pp->type == cmbParam::AC_offset) {
-        AA(nObs+iCond, iPar) = 1.0;
-      }
-    }
-
-    ++iCond;
     PP(nObs+iCond) = Ph;
     for (int iPar = 1; iPar <= _params.size(); iPar++) {
@@ -681,4 +672,9 @@
       ColumnVector vv = ll - AA * dx;
 
+      for (int iv = 1; iv < vv.Nrows(); iv++) {
+        out << vv(iv) << " ";
+      }
+      out << endl;
+
       int    maxResIndex;
       double maxRes = vv.maximum_absolute_value1(maxResIndex);   
