Skip to content

Commit

Permalink
Update method-filterFeatures.R
Browse files Browse the repository at this point in the history
  • Loading branch information
philouail committed Jan 29, 2024
1 parent 03bdf1b commit 3415547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/method-filterFeatures.R
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,6 @@ setMethod("filterFeatures",

#' @noRd
.check_index_range <- function(x, l, name = "") {
if (length(x) == 0 || !all(x %in% seq_len(l))
if (length(x) == 0 || !all(x %in% seq_len(l)))
stop(name, " should be between 1 and ", l)
}

0 comments on commit 3415547

Please sign in to comment.