From 819304fceb2fa2b81e863d675ef9219c1e90e153 Mon Sep 17 00:00:00 2001 From: "Gary E. Deschaines" Date: Sat, 23 Dec 2023 10:38:24 -0600 Subject: [PATCH] Explicit float constants --- propNav.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/propNav.py b/propNav.py index 26210cc..296d836 100644 --- a/propNav.py +++ b/propNav.py @@ -596,7 +596,7 @@ def Atgt(UWt, Pt, Vt, n, TgtTheta): UWtb = UWt # +pitching about +yb axis # Compute inertial to body transformation matrix if (abs(UWtb[1]) > 0.9999 and TgtTheta*DPR > 85.0) or \ - (abs(UWtb[1]) < 0.9999 and (tel > 85 and TgtTheta*DPR > 85)): + (abs(UWtb[1]) < 0.9999 and (tel > 85.0 and TgtTheta*DPR > 85.0)): # Approaching gimbal lock; form direction cosine matrix # using position pointing vector as derived in eqs (25) # thru (30) on pg 5 of ref [7].