Skip to content

Commit

Permalink
Expose std::abs in StarVMC/StarAgmlLib/AgMath.h
Browse files Browse the repository at this point in the history
As per request by @klendathu2k at #370 (comment)
  • Loading branch information
plexoos committed Jun 24, 2022
1 parent fa563aa commit 4eeac85
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions StarVMC/StarAgmlLib/AgMath.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ Int_t ieor(Int_t x, Int_t y);
Int_t nint(Double_t x);
Int_t nint(Float_t x);

//
// Fortran abs is fabs
//
//#define abs(x) TMath::Abs(x)
using std::abs;

// VAX-Fortran (omfg) trig functions taking arguement in degrees
Double_t tand(Double_t x);
Expand Down

0 comments on commit 4eeac85

Please sign in to comment.