From 280ed09e4d4f5b2a87a726ad39819f4951b53350 Mon Sep 17 00:00:00 2001 From: vdmitriev90 Date: Fri, 2 Feb 2018 17:00:12 +0300 Subject: [PATCH] Fix issue #40 --- core/lib/GNSSCore/NeillTropModel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/GNSSCore/NeillTropModel.cpp b/core/lib/GNSSCore/NeillTropModel.cpp index d7c528ff8..e49381f5c 100644 --- a/core/lib/GNSSCore/NeillTropModel.cpp +++ b/core/lib/GNSSCore/NeillTropModel.cpp @@ -570,9 +570,9 @@ namespace gpstk NeillDOY = static_cast(ydst.doy); validDOY = true; NeillLat = rxPos.getGeodeticLatitude(); - validHeight = true; - NeillLat = rxPos.getHeight(); validLat = true; + NeillHeight = rxPos.getHeight(); + validHeight = true; // Change the value of field "valid" if everything is already set valid = validHeight && validLat && validDOY;