Skip to content

Commit

Permalink
Update ROperator_Slice.hxx
Browse files Browse the repository at this point in the history
  • Loading branch information
joannapng authored and lmoneta committed Sep 4, 2023
1 parent 6b2bef2 commit d016feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmva/sofie/inc/TMVA/ROperator_Slice.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public:
// negative axes - they count from the back
if (iaxes[i] < 0) iaxes[i] = dim + iaxes[i];
size_t jaxis = static_cast<size_t>(iaxes[i]);
assert(jaxis < dim - 1);
assert(jaxis < dim);
size_t imax = fShapeInput[jaxis];
// find start/end/step for given axis
IType start = (istart[i] >= 0) ? istart[i] : imax + istart[i];
Expand Down

0 comments on commit d016feb

Please sign in to comment.