Skip to content

Commit

Permalink
Fix int in boolean context warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed May 7, 2024
1 parent 51ce043 commit 8df84ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TrackDigi/FPCCDDigi/src/FPCCDClustering.cc
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ void FPCCDClustering::makeTrackerHit(LCCollection* STHcol, int layer, int ladder
FPCCDPixelHit::HitQuality_t addedQuality = aHit->getQuality();
if( trackquality != FPCCDPixelHit::kBKGOverlap){
if(trackquality == FPCCDPixelHit::kBKG){
addedQuality=FPCCDPixelHit::kBKG ? trackquality=FPCCDPixelHit::kBKG : trackquality=FPCCDPixelHit::kBKGOverlap;
addedQuality = FPCCDPixelHit::kBKG;
}
}
else if(addedQuality==FPCCDPixelHit::kSignalOverlap){trackquality=FPCCDPixelHit::kSignalOverlap; }
Expand Down

0 comments on commit 8df84ca

Please sign in to comment.