Skip to content

Commit 0a7841b

Browse files
committed
Merge branch 'boundsfix' into brehms
2 parents 6acbf84 + 3e08f73 commit 0a7841b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Fit/Track.hh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,10 @@ namespace KinKal {
694694
}
695695
KKEFFFWDBND fwdbnds; // bounding sites used for fitting
696696
KKEFFREVBND revbnds;
697-
setBounds(fwdbnds,revbnds);
697+
if(!setBounds(fwdbnds,revbnds)){
698+
status().status_ = Status::lowNDOF;
699+
return;
700+
}
698701
// initialize the fit state where we left off processing
699702
FitStateArray states;
700703
TimeRange fitrange(fwdbnds[0]->get()->time(),revbnds[0]->get()->time());

0 commit comments

Comments
 (0)