Skip to content
Snippets Groups Projects

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

Merged 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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading