Skip to content

Commit 12ee0d2

Browse files
ehellbarakavumpa
authored andcommitted
GLO: fix segfault if K0s background fit failed (AliceO2Group#2618)
1 parent 8568ae8 commit 12ee0d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/GLO/include/GLO/Helpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ struct K0sFitter {
9797
if (bgResult.Get() == nullptr || bgResult->Status() != 0) {
9898
ILOG(Warning, Devel) << "Failed k0s background fit for histogram: "
9999
<< h->GetName()
100-
<< " (status=" << (bgResult ? bgResult->Status() : -1) << ")"
100+
<< " (status=" << (bgResult.Get() ? bgResult->Status() : -1) << ")"
101101
<< ENDM;
102102
return false;
103103
}

0 commit comments

Comments
 (0)