Skip to content

Commit 4f95fb8

Browse files
author
Francesco Mazzaschi
committed
Fix propagator instance
1 parent f4450d4 commit 4f95fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Tasks/Strangeness/nonPromptCascade.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ struct NonPromptCascadeTask {
219219

220220
if (static_cast<o2::base::Propagator::MatCorrType>(cfgMaterialCorrection.value) == o2::base::Propagator::MatCorrType::USEMatCorrLUT) {
221221
auto* lut = o2::base::MatLayerCylSet::rectifyPtrFromFile(mCCDB->getForRun<o2::base::MatLayerCylSet>("GLO/Param/MatLUT", mRunNumber));
222-
o2::base::Propagator::Instance(true)->setMatLUT(lut);
222+
o2::base::Propagator::Instance()->setMatLUT(lut);
223223
}
224224
}
225225

0 commit comments

Comments
 (0)