Skip to content
Snippets Groups Projects
Commit b797dcb5 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed math functions in reduction-operations.h

Apparently there is an abs function defined in <cstdlib>, which works
only on integers. We want the std::abs overloads defined in <cmath>,
which are used by TNL::abs.

clang rocks!

http://stackoverflow.com/questions/29136607/c-what-is-wrong-with-abs#29136774
parent c7691e18
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment