Index: trunk/BNC/src/RTCM3/ephemeris.cpp
===================================================================
--- trunk/BNC/src/RTCM3/ephemeris.cpp	(revision 5260)
+++ trunk/BNC/src/RTCM3/ephemeris.cpp	(revision 5277)
@@ -94,5 +94,5 @@
 
   static const double omegaEarth = 7292115.1467e-11;
-  static const double gmWGS      = 398.6005e12;
+  static const double gmGRS      = 398.6005e12;
 
   memset(xc, 0, 4*sizeof(double));
@@ -104,5 +104,5 @@
   }
 
-  double n0 = sqrt(gmWGS/(a0*a0*a0));
+  double n0 = sqrt(gmGRS/(a0*a0*a0));
 
   bncTime tt(GPSweek, GPSweeks);
@@ -301,5 +301,5 @@
   // Acceleration 
   // ------------
-  static const double GM    = 398.60044e12;
+  static const double gmWGS = 398.60044e12;
   static const double AE    = 6378136.0;
   static const double OMEGA = 7292115.e-11;
@@ -307,6 +307,6 @@
 
   double rho = rr.norm_Frobenius();
-  double t1  = -GM/(rho*rho*rho);
-  double t2  = 3.0/2.0 * C20 * (GM*AE*AE) / (rho*rho*rho*rho*rho);
+  double t1  = -gmWGS/(rho*rho*rho);
+  double t2  = 3.0/2.0 * C20 * (gmWGS*AE*AE) / (rho*rho*rho*rho*rho);
   double t3  = OMEGA * OMEGA;
   double t4  = 2.0 * OMEGA;
@@ -611,5 +611,5 @@
 
   static const double omegaEarth = 7292115.1467e-11;
-  static const double gmWGS      = 398.6005e12;
+  static const double gmWGS = 398.60044e12;
 
   memset(xc, 0, 4*sizeof(double));
