Skip to content

Commit

Permalink
simplified comparison so some compilers do not get confused
Browse files Browse the repository at this point in the history
  • Loading branch information
kreczko committed Jul 15, 2014
1 parent e8ff000 commit 0e6188b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Analysers/HLTriggerTurnOnAnalyser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void HLTriggerTurnOnAnalyser::analyse(const EventPtr event) {
}
}

if (!goodElectrons.size() > 0)
if (goodElectrons.size() < 1)
return; //need at least one good electron to continue

ElectronPointer mostIsolatedElectron = goodElectrons.front();
Expand Down Expand Up @@ -86,7 +86,7 @@ void HLTriggerTurnOnAnalyser::analyse(const EventPtr event) {

}

if (!cleanedJets.size() > 0)
if (cleanedJets.size() < 1)
return; //need at least one jet to continue

//set jet binning for HLT analysis
Expand Down

0 comments on commit 0e6188b

Please sign in to comment.