Skip to content

Commit

Permalink
Few more cases of space vs tab
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisVaughan committed Jul 16, 2024
1 parent 6df2a20 commit 0edaded
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/subset.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,14 @@ attribute_hidden SEXP ExtractSubset(SEXP x, SEXP indx, SEXP call)
break;
case VECSXP:
case EXPRSXP:
/* Is `VECTOR_ELT_FIX_NAMED()` still needed? If not, split out VECSXP */
/* Is `VECTOR_ELT_FIX_NAMED()` still needed? If not, split out VECSXP */
/* case and use `DATAPTR_OR_NULL()` there too. Currently it never */
/* takes the `px[ii]` path - DV. */
EXTRACT_SUBSET_LOOP(const SEXP *px = NULL,
EXTRACT_SUBSET_LOOP(const SEXP *px = NULL,
SET_VECTOR_ELT(result, i, px[ii]),
SET_VECTOR_ELT(result, i, VECTOR_ELT_FIX_NAMED(x, ii)),
SET_VECTOR_ELT(result, i, R_NilValue));
break;
break;
case RAWSXP:
EXTRACT_SUBSET_LOOP(const Rbyte* px = (const Rbyte*) DATAPTR_OR_NULL(x),
RAW0(result)[i] = px[ii],
Expand Down

0 comments on commit 0edaded

Please sign in to comment.