Fork me on GitHub

Ignore:
Timestamp:
Nov 20, 2013, 9:52:59 PM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
fc39685
Parents:
88a9b72
Message:

upgrade fastjet to 3.0.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/plugins/CDFCones/JetCluAlgorithm.cc

    r88a9b72 rd69dfe4  
    2828#include <algorithm>
    2929#include <cmath>
     30#include <cstdlib>
    3031
    3132#include <fastjet/internal/base.hh>
     
    7980          if ((iEtaPreClusterTower >= 8 && iEtaPreClusterTower < 14) || (iEtaPreClusterTower >= 38 && iEtaPreClusterTower < 44))
    8081            iPhiPreClusterTower = iPhiPreClusterTower/2;
    81           int dIEta = abs(iEtaSeedTower - iEtaPreClusterTower);
    82           int dIPhi = abs(iPhiSeedTower - iPhiPreClusterTower);
     82          int dIEta = std::abs(iEtaSeedTower - iEtaPreClusterTower);
     83          int dIPhi = std::abs(iPhiSeedTower - iPhiPreClusterTower);
    8384          if(dIPhi > 12)
    8485            dIPhi = 24 - dIPhi;
Note: See TracChangeset for help on using the changeset viewer.