From bb054e47b011b106c3bbbf66727d4f0764501673 Mon Sep 17 00:00:00 2001 From: Daniel Warner Date: Wed, 30 Mar 2011 14:05:56 +0100 Subject: [PATCH] Edited FindPositionSDP4() to fit pdf code --- SGDP4.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/SGDP4.cpp b/SGDP4.cpp index 23abd6c..40aa009 100644 --- a/SGDP4.cpp +++ b/SGDP4.cpp @@ -284,9 +284,7 @@ void SGDP4::FindPositionSDP4(double tsince) { DeepSecular(tsince, xmdf, omgadf, xnode, em, xinc, xn); a = pow(constants_.XKE / xn, constants_.TWOTHRD) * pow(tempa, 2.0); - xn = constants_.XKE / pow(a, 1.5); e = em - tempe; - double xmam = xmdf + RecoveredMeanMotion() * templ; //CALL DPPER(E, XINC, OMGADF, XNODE, XMAM)