From 9da873330a02b20ab4669dfaa468c95e5466de3a Mon Sep 17 00:00:00 2001 From: DennisOSRM Date: Tue, 7 Feb 2012 18:22:31 +0100 Subject: [PATCH] Special case of heading 202.5 not properly handled and defaulted to "N". --- Util/Azimuth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Util/Azimuth.h b/Util/Azimuth.h index 6041c4d7e..6d12673bc 100644 --- a/Util/Azimuth.h +++ b/Util/Azimuth.h @@ -27,7 +27,7 @@ or see http://www.gnu.org/licenses/agpl.txt. struct Azimuth { static std::string Get(const double heading) { - if(heading < 202.5) { + if(heading <= 202.5) { if(heading > 0 && heading <= 22.5) return "N"; if(heading > 22.5 && heading <= 67.5)