1 parent dc6b7c4 commit ee591c4Copy full SHA for ee591c4
1 file changed
PWGCF/GenericFramework/Tasks/flowGenericFramework.cxx
@@ -1252,10 +1252,12 @@ struct FlowGenericFramework {
1252
auto* weights = ccdb->getForTimeStamp<GFWWeights>(path, timestamp);
1253
if (weights == nullptr) {
1254
LOGF(fatal, "Could not load acceptance weights from %s", path.c_str());
1255
+ return;
1256
}
1257
auto* clonedWeights = dynamic_cast<GFWWeights*>(weights->Clone());
1258
if (clonedWeights == nullptr) {
1259
LOGF(fatal, "Could not clone acceptance weights from %s", path.c_str());
1260
1261
1262
acceptanceWeights.emplace_back(clonedWeights);
1263
};
0 commit comments