Skip to content

Commit c963572

Browse files
authored
add a braket to init the val
1 parent 56ae29e commit c963572

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGCF/Flow/Tasks/pidFlowPtCorr.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1659,7 +1659,7 @@ struct PidFlowPtCorr {
16591659
if (!hist) {
16601660
return 1;
16611661
}
1662-
std::array<int, 4> bins;
1662+
std::array<int, 4> bins{};
16631663
bins[0] = hist->GetAxis(0)->FindBin(phi);
16641664
bins[1] = hist->GetAxis(1)->FindBin(eta);
16651665
bins[2] = hist->GetAxis(2)->FindBin(vz);

0 commit comments

Comments
 (0)