use std::fabs for clarity - refs #1694
This commit is contained in:
parent
0ab900bc64
commit
769b15e42a
1 changed files with 1 additions and 1 deletions
|
@ -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_)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue