We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f603b9 commit 93ea284Copy full SHA for 93ea284
Fit/Track.hh
@@ -760,13 +760,13 @@ namespace KinKal {
760
double tmax = -std::numeric_limits<double>::max();
761
// can't assume effects are sorted
762
for(auto const& hit : hits){
763
- if(hit->active() || !active){
+ if((!active) || hit->active()){
764
tmin = std::min(tmin,hit->time());
765
tmax = std::max(tmax,hit->time());
766
}
767
768
for(auto const& exing : exings){
769
- if(exing->active() || !active){
+ if((!active) || exing->active() ){
770
tmin = std::min(tmin,exing->time());
771
tmax = std::max(tmax,exing->time());
772
0 commit comments