From a10a6a89f08545e8bc4662e9532efef9b0f58abe Mon Sep 17 00:00:00 2001 From: Daniel Warner Date: Sat, 8 Mar 2014 18:28:54 +0000 Subject: [PATCH] Correct TimeSpan compare --- libsgp4/TimeSpan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsgp4/TimeSpan.h b/libsgp4/TimeSpan.h index 52a5c68..2cde2c8 100644 --- a/libsgp4/TimeSpan.h +++ b/libsgp4/TimeSpan.h @@ -88,7 +88,7 @@ public: { ret = -1; } - if (m_ticks < ts.m_ticks) + if (m_ticks > ts.m_ticks) { ret = 1; }