From ea0c2cbc9216c7dbc202c00055b409f818aea8cf Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Tue, 10 Apr 2018 14:37:53 +0000 Subject: [PATCH] Fix debug printing for coordinates --- include/util/debug.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/util/debug.hpp b/include/util/debug.hpp index c1ed83442..9c6582dad 100644 --- a/include/util/debug.hpp +++ b/include/util/debug.hpp @@ -22,7 +22,7 @@ namespace util inline std::ostream &operator<<(std::ostream &out, const Coordinate &coordinate) { out << std::setprecision(12) << "{" << toFloating(coordinate.lon) << ", " - << toFloating(coordinate.lon) << "}"; + << toFloating(coordinate.lat) << "}"; return out; } }