diff --git a/GBL/src/GblFitterInfo.cc b/GBL/src/GblFitterInfo.cc index a18da7ea5dd3452c66fd35c62b51f3589456528c..6ebe506cf0fe251578267871954c8f3207dccf3f 100644 --- a/GBL/src/GblFitterInfo.cc +++ b/GBL/src/GblFitterInfo.cc @@ -329,8 +329,8 @@ namespace genfit { fwdPrediction_ += fwdStateCorrection_; // This is the update! bwdPrediction_ += bwdStateCorrection_; // This is the update! - fittedStateFwd_.reset( new MeasuredStateOnPlane(fwdPrediction_, fwdCov_, sharedPlane_, rep_, fittedStateFwd_->getAuxInfo()) ); - fittedStateBwd_.reset( new MeasuredStateOnPlane(bwdPrediction_, bwdCov_, sharedPlane_, rep_, fittedStateBwd_->getAuxInfo()) ); + fittedStateFwd_.reset( new MeasuredStateOnPlane(fwdPrediction_, fwdCov_, sharedPlane_, rep_, getFittedState(true).getAuxInfo()) ); + fittedStateBwd_.reset( new MeasuredStateOnPlane(bwdPrediction_, bwdCov_, sharedPlane_, rep_, getFittedState(true).getAuxInfo()) ); // Set scattering/measurement residual data kinkResiduals_ = kResiduals;