Index: /trunk/BNC/src/PPP/ephpool.cpp
===================================================================
--- /trunk/BNC/src/PPP/ephpool.cpp	(revision 5788)
+++ /trunk/BNC/src/PPP/ephpool.cpp	(revision 5789)
@@ -42,4 +42,5 @@
 #include "ephpool.h"
 #include "ppp.h"
+#include "pppClient.h"
 
 using namespace BNC;
@@ -132,5 +133,5 @@
   for (unsigned ii = 0; ii < _ephs.size(); ii++) {
     t_eph* eph = _ephs[ii];
-    t_irc irc = eph->getCrd(tt, xc, vv);
+    t_irc irc = eph->getCrd(tt, xc, vv, OPT->corrRequired());
     if (irc == success) {
       if (eph->prn().system() == 'R') {
Index: /trunk/BNC/src/PPP/options.cpp
===================================================================
--- /trunk/BNC/src/PPP/options.cpp	(revision 5788)
+++ /trunk/BNC/src/PPP/options.cpp	(revision 5789)
@@ -69,4 +69,10 @@
 // 
 //////////////////////////////////////////////////////////////////////////////
+bool t_options::corrRequired() const {
+  return false;
+}
+
+// 
+//////////////////////////////////////////////////////////////////////////////
 bool t_options::useGlonass() const  {
   return (_lcGLONASS.size() > 0);
Index: /trunk/BNC/src/PPP/options.h
===================================================================
--- /trunk/BNC/src/PPP/options.h	(revision 5788)
+++ /trunk/BNC/src/PPP/options.h	(revision 5789)
@@ -22,4 +22,5 @@
   bool dualFreqRequired() const;
   bool biasRequired() const;
+  bool corrRequired() const;
   bool useGlonass() const ;
   bool xyzAprRoverSet() const;
Index: /trunk/BNC/src/ephemeris.cpp
===================================================================
--- /trunk/BNC/src/ephemeris.cpp	(revision 5788)
+++ /trunk/BNC/src/ephemeris.cpp	(revision 5789)
@@ -59,9 +59,9 @@
 ////////////////////////////////////////////////////////////////////////////
 t_irc t_eph::getCrd(const bncTime& tt, ColumnVector& xc,
-                    ColumnVector& vv, bool noCorr) const {
+                    ColumnVector& vv, bool useCorr) const {
   xc.ReSize(4);
   vv.ReSize(3);
   position(tt.gpsw(), tt.gpssec(), xc.data(), vv.data());
-  if (!noCorr) {
+  if (useCorr) {
     throw "t_eph::getCrd: not yet implemented";
   }
Index: /trunk/BNC/src/ephemeris.h
===================================================================
--- /trunk/BNC/src/ephemeris.h	(revision 5788)
+++ /trunk/BNC/src/ephemeris.h	(revision 5789)
@@ -58,5 +58,5 @@
 
   t_irc getCrd(const bncTime& tt, ColumnVector& xc,
-               ColumnVector& vv, bool noCorr = false) const;
+               ColumnVector& vv, bool useCorr) const;
   void setOrbCorr(const BNC::t_orbCorr* orbCorr);
   void setClkCorr(const BNC::t_clkCorr* clkCorr);
