Index: trunk/BNC/bncmodel.cpp
===================================================================
--- trunk/BNC/bncmodel.cpp	(revision 3308)
+++ trunk/BNC/bncmodel.cpp	(revision 3309)
@@ -477,5 +477,5 @@
 // Prediction Step of the Filter
 ////////////////////////////////////////////////////////////////////////////
-void bncModel::predict(t_epoData* epoData) {
+void bncModel::predict(int iPhase, t_epoData* epoData) {
 
   bncSettings settings;
@@ -919,5 +919,5 @@
 // Outlier Detection
 ////////////////////////////////////////////////////////////////////////////
-int bncModel::outlierDetection(int phase, const SymmetricMatrix& QQsav, 
+int bncModel::outlierDetection(int iPhase, const SymmetricMatrix& QQsav, 
                                const ColumnVector& vv,
                                QMap<QString, t_satData*>& satDataGPS,
@@ -935,5 +935,5 @@
   int irc = 0;
 
-  if (phase == 0) {
+  if (iPhase == 0) {
 
     // Check GPS Code
@@ -963,4 +963,5 @@
 
   else {
+
     // Check Glonass Phase
     // -------------------
@@ -1183,10 +1184,10 @@
 // 
 ///////////////////////////////////////////////////////////////////////////
-void bncModel::addObs(int phase, unsigned& iObs, t_satData* satData,
+void bncModel::addObs(int iPhase, unsigned& iObs, t_satData* satData,
                       Matrix& AA, ColumnVector& ll, DiagonalMatrix& PP) {
 
   // Phase Observations
   // ------------------
-  if (phase == 1) {
+  if (iPhase == 1) {
     ++iObs;
     ll(iObs)      = satData->L3 - cmpValue(satData, true);
@@ -1217,7 +1218,7 @@
 // 
 ///////////////////////////////////////////////////////////////////////////
-void bncModel::printRes(int phase, const ColumnVector& vv, 
+void bncModel::printRes(int iPhase, const ColumnVector& vv, 
                         ostringstream& str, t_satData* satData) {
-  if (phase) {
+  if (iPhase == 1) {
     str << _time.timestr(1)
         << " RES " << satData->prn.toAscii().data() << "   L3 "
@@ -1270,8 +1271,7 @@
     do {
 
+      // Bancroft Solution
+      // -----------------
       if (iPhase == 0) {      
-
-        // Bancroft Solution
-        // -----------------
         if (cmpBancroft(epoData) != success) {
           emit newMessage(_log, false);
@@ -1282,5 +1282,5 @@
       // Status Prediction
       // -----------------
-      predict(epoData);
+      predict(iPhase, epoData);
       
       // Create First-Design Matrix
Index: trunk/BNC/bncmodel.h
===================================================================
--- trunk/BNC/bncmodel.h	(revision 3308)
+++ trunk/BNC/bncmodel.h	(revision 3309)
@@ -96,7 +96,7 @@
   void   cmpEle(t_satData* satData);
   void   addAmb(t_satData* satData);
-  void   addObs(int phase, unsigned& iObs, t_satData* satData,
+  void   addObs(int iPhase, unsigned& iObs, t_satData* satData,
                 Matrix& AA, ColumnVector& ll, DiagonalMatrix& PP);
-  void   printRes(int phase, const ColumnVector& vv, 
+  void   printRes(int iPhase, const ColumnVector& vv, 
                   std::ostringstream& str, t_satData* satData);
   void   findMaxRes(const ColumnVector& vv,
@@ -106,7 +106,7 @@
   double cmpValue(t_satData* satData, bool phase);
   double delay_saast(double Ele);
-  void   predict(t_epoData* epoData);
+  void   predict(int iPhase, t_epoData* epoData);
   t_irc  update_p(t_epoData* epoData, ColumnVector& dx);
-  int    outlierDetection(int phase, const SymmetricMatrix& QQsav, 
+  int    outlierDetection(int iPhase, const SymmetricMatrix& QQsav, 
                           const ColumnVector& vv,
                           QMap<QString, t_satData*>& satDataGPS,
