Skip to content

Commit eab8609

Browse files
ben-schwenaitap
authored andcommitted
overlaps: uncomment the remaining underflow test
The underflow is covered by already existing tests.
1 parent 30da3dd commit eab8609

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ijoin.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,7 @@ SEXP overlaps(SEXP ux, SEXP imatches, SEXP multArg, SEXP typeArg, SEXP nomatchAr
286286
case ANY:
287287
for (int i=0; i<rows; ++i) {
288288
const int len = totlen;
289-
// k = (from[i] > 0) ? from[i] : 1;
290-
const int k = from[i];
289+
const int k = (from[i] > 0) ? from[i] : 1;
291290
if (k<=to[i])
292291
totlen += count[k-1];
293292
for (int j=k+1; j<=to[i]; ++j)

0 commit comments

Comments
 (0)