Skip to content

Commit 93ea284

Browse files
committed
Reorder arguments
1 parent 4f603b9 commit 93ea284

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Fit/Track.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,13 +760,13 @@ namespace KinKal {
760760
double tmax = -std::numeric_limits<double>::max();
761761
// can't assume effects are sorted
762762
for(auto const& hit : hits){
763-
if(hit->active() || !active){
763+
if((!active) || hit->active()){
764764
tmin = std::min(tmin,hit->time());
765765
tmax = std::max(tmax,hit->time());
766766
}
767767
}
768768
for(auto const& exing : exings){
769-
if(exing->active() || !active){
769+
if((!active) || exing->active() ){
770770
tmin = std::min(tmin,exing->time());
771771
tmax = std::max(tmax,exing->time());
772772
}

0 commit comments

Comments
 (0)