Skip to content

Commit

Permalink
use std::fabs for clarity - refs #1694
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Jan 17, 2013
1 parent 0ab900b commit 769b15e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mapnik/markers_placement.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class markers_placement : mapnik::noncopyable
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_)
{
Expand Down

0 comments on commit 769b15e

Please sign in to comment.