c++11 - use std::abs (http://en.cppreference.com/w/cpp/numeric/math/fabs)
This commit is contained in:
parent
e874f9237b
commit
d08b3d106b
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ struct abs_impl
|
|||
{
|
||||
value_type operator() (value_type const& val) const
|
||||
{
|
||||
return std::fabs(val.to_double());
|
||||
return std::abs(val.to_double());
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue