Index: trunk/BNC/src/PPP/pppClient.cpp
===================================================================
--- trunk/BNC/src/PPP/pppClient.cpp	(revision 6406)
+++ trunk/BNC/src/PPP/pppClient.cpp	(revision 6463)
@@ -116,7 +116,7 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
-void t_pppClient::putBiases(const vector<t_satBias*>& biases) {
+void t_pppClient::putCodeBiases(const vector<t_satCodeBias*>& biases) {
   for (unsigned ii = 0; ii < biases.size(); ii++) {
-    _obsPool->putBias(new t_satBias(*biases[ii]));
+    _obsPool->putCodeBias(new t_satCodeBias(*biases[ii]));
   }
 }
Index: trunk/BNC/src/PPP/pppClient.h
===================================================================
--- trunk/BNC/src/PPP/pppClient.h	(revision 6406)
+++ trunk/BNC/src/PPP/pppClient.h	(revision 6463)
@@ -28,5 +28,5 @@
   void putOrbCorrections(const std::vector<t_orbCorr*>& corr); 
   void putClkCorrections(const std::vector<t_clkCorr*>& corr); 
-  void putBiases(const std::vector<t_satBias*>& satBias);   
+  void putCodeBiases(const std::vector<t_satCodeBias*>& satBias);   
   void processEpoch(const std::vector<t_satObs*>& satObs, t_output* output);
 
Index: trunk/BNC/src/PPP/pppObsPool.cpp
===================================================================
--- trunk/BNC/src/PPP/pppObsPool.cpp	(revision 6406)
+++ trunk/BNC/src/PPP/pppObsPool.cpp	(revision 6463)
@@ -42,5 +42,5 @@
 t_pppObsPool::t_pppObsPool() {
   for (unsigned ii = 0; ii <= t_prn::MAXPRN; ii++) {
-    _satBiases[ii] = 0;
+    _satCodeBiases[ii] = 0;
   }
 }
@@ -50,5 +50,5 @@
 t_pppObsPool::~t_pppObsPool() {
   for (unsigned ii = 0; ii <= t_prn::MAXPRN; ii++) {
-    delete _satBiases[ii];
+    delete _satCodeBiases[ii];
   }
   while (_epochs.size() > 0) {
@@ -60,8 +60,8 @@
 //
 /////////////////////////////////////////////////////////////////////////////
-void t_pppObsPool::putBias(t_satBias* satBias) {
-  int iPrn = satBias->_prn.toInt();
-  delete _satBiases[iPrn];
-  _satBiases[iPrn] = satBias;
+void t_pppObsPool::putCodeBias(t_satCodeBias* satCodeBias) {
+  int iPrn = satCodeBias->_prn.toInt();
+  delete _satCodeBiases[iPrn];
+  _satCodeBiases[iPrn] = satCodeBias;
 }
 
Index: trunk/BNC/src/PPP/pppObsPool.h
===================================================================
--- trunk/BNC/src/PPP/pppObsPool.h	(revision 6406)
+++ trunk/BNC/src/PPP/pppObsPool.h	(revision 6463)
@@ -26,10 +26,10 @@
   t_pppObsPool();
   ~t_pppObsPool();
-  void putBias(t_satBias* satBias);
+  void putCodeBias(t_satCodeBias* satCodeBias);
 
   void putEpoch(const bncTime& epoTime, std::vector<t_pppSatObs*>& obsVector);
 
-  const t_satBias* satBias(const t_prn& prn) const {  
-    return _satBiases[prn.toInt()];
+  const t_satCodeBias* satCodeBias(const t_prn& prn) const {  
+    return _satCodeBiases[prn.toInt()];
   }
 
@@ -44,5 +44,5 @@
 
  private:
-  t_satBias*           _satBiases[t_prn::MAXPRN+1];
+  t_satCodeBias*       _satCodeBiases[t_prn::MAXPRN+1];
   std::deque<t_epoch*> _epochs;
 };
Index: trunk/BNC/src/PPP/pppSatObs.cpp
===================================================================
--- trunk/BNC/src/PPP/pppSatObs.cpp	(revision 6406)
+++ trunk/BNC/src/PPP/pppSatObs.cpp	(revision 6463)
@@ -378,15 +378,14 @@
   _model._windUp = station->windUp(_time, _prn, rSat);
 
-  // Code and Phase Biases
-  // ---------------------
-  const t_satBias* satBias = PPP_CLIENT->obsPool()->satBias(_prn);
-  if (satBias) { 
-    for (unsigned ii = 0; ii < satBias->_bias.size(); ii++) {
-      const t_frqBias& bias = satBias->_bias[ii];
+  // Code Biases
+  // -----------
+  const t_satCodeBias* satCodeBias = PPP_CLIENT->obsPool()->satCodeBias(_prn);
+  if (satCodeBias) { 
+    for (unsigned ii = 0; ii < satCodeBias->_bias.size(); ii++) {
+      const t_frqCodeBias& bias = satCodeBias->_bias[ii];
       for (unsigned iFreq = 1; iFreq < t_frequency::max; iFreq++) {
         const t_frqObs* obs = _obs[iFreq];
         if (obs && obs->_rnxType2ch == bias._rnxType2ch) {
-          _model._codeBias[iFreq]  = bias._code;
-          _model._phaseBias[iFreq] = bias._phase;
+          _model._codeBias[iFreq]  = bias._value;
         }
       }
