use std::fabs for clarity - refs #1694

This commit is contained in:
Dane Springmeyer 2013-01-17 13:13:33 -08:00
parent 0ab900bc64
commit 769b15e42a

View file

@ -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_)
{