Skip to content

Commit

Permalink
check if length-0 vector reads trigger r-devel bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AshesITR committed Jun 15, 2024
1 parent 5b86b61 commit 9d19188
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ dgamma_matrix <- function(x, shape, scale) {
}

pgamma_diff_matrix <- function(lower, upper, shape, scale) {
stopifnot(length(lower) > 0L)
.Call(`_reservr_pgamma_diff_matrix`, lower, upper, shape, scale)
}

Expand Down

0 comments on commit 9d19188

Please sign in to comment.