From c9ae013606676d05b87b47d6a69c2f6488965d33 Mon Sep 17 00:00:00 2001 From: Daniel Warner Date: Thu, 31 Mar 2011 22:20:43 +0100 Subject: [PATCH] Bug: accidently redeclared some variables --- SGDP4.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SGDP4.cpp b/SGDP4.cpp index 7986ff2..9669a90 100644 --- a/SGDP4.cpp +++ b/SGDP4.cpp @@ -706,10 +706,10 @@ void SGDP4::DeepSpaceInitialize(const double& eosq, const double& sinio, const d const double s5 = x1 * x3 + x2 * x4; const double s6 = x2 * x3 + x1 * x4; const double s7 = x2 * x4 - x1 * x3; - const double se = s1 * zn * s5; - const double si = s2 * zn * (z11 + z13); - const double sl = -zn * s3 * (z1 + z3 - 14.0 - 6.0 * eosq); - const double sgh = s4 * zn * (z31 + z33 - 6.0); + se = s1 * zn * s5; + si = s2 * zn * (z11 + z13); + sl = -zn * s3 * (z1 + z3 - 14.0 - 6.0 * eosq); + sgh = s4 * zn * (z31 + z33 - 6.0); /* * replaced