From 449e381fdab9daee470af976039f20e7ac73ee93 Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Mon, 16 Mar 2015 11:55:47 +0200 Subject: [PATCH] [util][math][spheroid] replace calls to math::fmod() by calls to math::mod() --- .../boost/geometry/util/normalize_spheroidal_coordinates.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/geometry/util/normalize_spheroidal_coordinates.hpp b/include/boost/geometry/util/normalize_spheroidal_coordinates.hpp index e6d325698..a1203ef83 100644 --- a/include/boost/geometry/util/normalize_spheroidal_coordinates.hpp +++ b/include/boost/geometry/util/normalize_spheroidal_coordinates.hpp @@ -112,14 +112,14 @@ protected: static inline CoordinateType normalize_up(CoordinateType const& value) { return - math::fmod(value + constants::half_period(), constants::period()) + math::mod(value + constants::half_period(), constants::period()) - constants::half_period(); } static inline CoordinateType normalize_down(CoordinateType const& value) { return - math::fmod(value - constants::half_period(), constants::period()) + math::mod(value - constants::half_period(), constants::period()) + constants::half_period(); }