Index: trunk/BNC/src/PPP/pppParlist.cpp
===================================================================
--- trunk/BNC/src/PPP/pppParlist.cpp	(revision 6253)
+++ trunk/BNC/src/PPP/pppParlist.cpp	(revision 6254)
@@ -11,5 +11,5 @@
  * Created:    29-Jul-2014
  *
- * Changes:    
+ * Changes:
  *
  * -----------------------------------------------------------------------*/
@@ -103,7 +103,7 @@
 }
 
-// 
-////////////////////////////////////////////////////////////////////////////
-double t_pppParam::partial(const bncTime& /* epoTime */, const t_pppSatObs* obs, 
+//
+////////////////////////////////////////////////////////////////////////////
+double t_pppParam::partial(const bncTime& /* epoTime */, const t_pppSatObs* obs,
                         const t_lc::type& tLC) const {
 
@@ -141,8 +141,8 @@
         obs->lcCoeff(tLC, codeCoeff, phaseCoeff);
         if      (_tLC == t_lc::l1) {
-          return obs->lambda(t_lc::l1) * phaseCoeff[t_lc::toFreq(obs->prn().system(),t_lc::l1)]; 
+          return obs->lambda(t_lc::l1) * phaseCoeff[t_lc::toFreq(obs->prn().system(),t_lc::l1)];
         }
         else if (_tLC == t_lc::l2) {
-          return obs->lambda(t_lc::l2) * phaseCoeff[t_lc::toFreq(obs->prn().system(),t_lc::l2)]; 
+          return obs->lambda(t_lc::l2) * phaseCoeff[t_lc::toFreq(obs->prn().system(),t_lc::l2)];
         }
       }
@@ -150,5 +150,5 @@
     return 0.0;
   case trp:
-    return 1.0 / sin(obs->eleSat()); 
+    return 1.0 / sin(obs->eleSat());
   }
 
@@ -156,5 +156,5 @@
 }
 
-// 
+//
 ////////////////////////////////////////////////////////////////////////////
 string t_pppParam::toString() const {
@@ -163,5 +163,5 @@
   case crdX:
     ss << "CRD_X";
-    break; 
+    break;
   case crdY:
     ss << "CRD_Y";
@@ -199,5 +199,5 @@
 }
 
-// 
+//
 ////////////////////////////////////////////////////////////////////////////
 t_irc t_pppParlist::set(const bncTime& epoTime, const std::vector<t_pppSatObs*>& obsVector) {
@@ -211,5 +211,5 @@
     bool remove = false;
 
-    if      (par->epoSpec()) {  
+    if      (par->epoSpec()) {
       remove = true;
     }
@@ -258,5 +258,5 @@
       }
     }
-  } 
+  }
 
   // Required Set of Parameters
@@ -336,5 +336,5 @@
 }
 
-// 
+//
 ////////////////////////////////////////////////////////////////////////////
 void t_pppParlist::printResult(const bncTime& epoTime, const SymmetricMatrix& QQ,
@@ -342,4 +342,5 @@
 
   string epoTimeStr = string(epoTime);
+  const t_pppStation* sta = PPP_CLIENT->staRover();
 
   LOG << endl;
@@ -361,6 +362,8 @@
     else {
       int ind = par->indexNew();
+      double apr = (par->type() == t_pppParam::trp) ?
+        t_tropo::delay_saast(sta->xyzApr(), M_PI/2.0) :  par->x0();
       LOG << epoTimeStr << ' ' << par->toString() << ' '
-          << setw(10) << setprecision(4) << par->x0() << ' '
+          << setw(10) << setprecision(4) << apr << ' '
           << showpos << setw(10) << setprecision(4) << xx[ind] << noshowpos << " +- "
           << setw(8)  << setprecision(4) << sqrt(QQ[ind][ind]);
@@ -372,9 +375,8 @@
     }
   }
-  
+
   if (parX && parY && parZ) {
-    const t_pppStation* sta = PPP_CLIENT->staRover();
-
-    ColumnVector xyz(3);
+
+	ColumnVector xyz(3);
     xyz[0] = xx[parX->indexNew()];
     xyz[1] = xx[parY->indexNew()];
@@ -392,5 +394,5 @@
         << " X = " << setprecision(4) << sta->xyzApr()[0] + xyz[0] << " +- "
         << setprecision(4) << sqrt(QQxyz[0][0])
-                                   
+
         << " Y = " << setprecision(4) << sta->xyzApr()[1] + xyz[1] << " +- "
         << setprecision(4) << sqrt(QQxyz[1][1])
@@ -407,5 +409,5 @@
         << " dU = " << setprecision(4) << neu[2] << " +- "
         << setprecision(4) << sqrt(QQneu[2][2])
- 
+
         << endl;
   }
