Skip to content

Commit d016feb

Browse files
joannapnglmoneta
authored andcommitted
Update ROperator_Slice.hxx
1 parent 6b2bef2 commit d016feb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tmva/sofie/inc/TMVA/ROperator_Slice.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public:
147147
// negative axes - they count from the back
148148
if (iaxes[i] < 0) iaxes[i] = dim + iaxes[i];
149149
size_t jaxis = static_cast<size_t>(iaxes[i]);
150-
assert(jaxis < dim - 1);
150+
assert(jaxis < dim);
151151
size_t imax = fShapeInput[jaxis];
152152
// find start/end/step for given axis
153153
IType start = (istart[i] >= 0) ? istart[i] : imax + istart[i];

0 commit comments

Comments
 (0)