Skip to content

Commit

Permalink
Describe in english
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Aug 29, 2024
1 parent 986a661 commit bcc1d77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,8 @@ bool isDataTable(SEXP x) {
return INHERITS(x, char_datatable);
}

// length(x) <= 1L || length(unique(lengths(x))) ==1L
// rectangular list; NB does not allow length-1 recycling
// length(x) <= 1L || length(unique(lengths(x))) == 1L
static inline bool equalLens(SEXP x) {
int n = LENGTH(x);
if (n < 2)
Expand Down

0 comments on commit bcc1d77

Please sign in to comment.