Skip to content
Snippets Groups Projects
Commit c78962e5 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

L1TopoAlgorithms: Fix clang warning.

 - fabs(int).  Use std::abs instead.
 
parent e122725b
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
/*********************************
* DeltaRApproxBoxCutIncl2.cpp
......@@ -33,7 +33,7 @@ namespace {
unsigned int
calcDeltaEta(const TCS::GenericTOB* tob1, const TCS::GenericTOB* tob2) {
double deta = fabs( tob1->eta() - tob2->eta() );
double deta = std::abs( tob1->eta() - tob2->eta() );
return deta;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment