Skip to content

Commit

Permalink
[gpad] Fix Debug Assertion Failure in libGpad
Browse files Browse the repository at this point in the history
Fix the following error in Debug mode with Runtime Check on Windows:
Debug Assertion Failed!
Epression: vector<bool> subscript out of range
  • Loading branch information
bellenot committed Dec 12, 2024
1 parent acc52d7 commit 456d542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graf2d/gpad/src/TPad.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3435,8 +3435,8 @@ void TPad::FillCollideGridTH1(TObject *o)
else y2l = fUymin;
}
y2 = (Int_t)((y2l-fY1)/ys);
for (j=y1; j<=y2; j++) {
NotFree(x1, j);
for (j=y1; j<y2; j++) {
NotFree(x1, j);
}
}
x1l = h->GetBinLowEdge(i);
Expand Down

0 comments on commit 456d542

Please sign in to comment.