From 769b15e42a165df8f9994285a37a2a4c297b2446 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 17 Jan 2013 13:13:33 -0800 Subject: [PATCH] use std::fabs for clarity - refs #1694 --- include/mapnik/markers_placement.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/markers_placement.hpp b/include/mapnik/markers_placement.hpp index aeb9bb23e..ca22863b8 100644 --- a/include/mapnik/markers_placement.hpp +++ b/include/mapnik/markers_placement.hpp @@ -149,7 +149,7 @@ public: set_spacing_left(marker_width_/2); //Only moves forward } //Error for this marker is too large. Skip to the next position. - if (std::abs(error_) > max_err_allowed) + if (std::fabs(error_) > max_err_allowed) { if (error_ > spacing_) {