Skip to content

Change all fabs() calls to std::abs,change math.h to cmath

Stewart Martin-Haugh requested to merge (removed):abs_fix into master

Hi,

This fixes a compilation error with gcc 6.2:

/tmp/smh/acts/newacts/acts/Core/include/ACTS/Propagator/Propagator.hpp:192:25: error: there are no arguments to ‘fabs’ that depend on a template parameter, so a declaration of ‘fabs’ must be available [-fpermissive]

although I changed many more instances than necessary, to have a consistent codebase. Closes ACTS-239.

Cheers, Stewart

Merge request reports

Loading