From 032fb2e8a81b35ff504d81d0c7a824d4d13a126e Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 2 Mar 2021 20:24:13 +0000 Subject: [PATCH] Code inspection --- Meade.net.Telescope/AstroMaths/AstroMathExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meade.net.Telescope/AstroMaths/AstroMathExtensions.cs b/Meade.net.Telescope/AstroMaths/AstroMathExtensions.cs index 9254007..183700e 100644 --- a/Meade.net.Telescope/AstroMaths/AstroMathExtensions.cs +++ b/Meade.net.Telescope/AstroMaths/AstroMathExtensions.cs @@ -58,7 +58,7 @@ namespace ASCOM.Meade.net.AstroMaths t0 -= 24; } - var ut = DateTimeToDecimalHours(utcDateTime); + var ut = utcDateTime.DateTimeToDecimalHours(); var a = ut * 1.002737909; var t1 = t0 + a;