Skip to content

Commit

Permalink
BUG FIX: Fix assertion thinko reported in futureverse#271
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed Oct 27, 2024
1 parent aa124bc commit edb022b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/seed.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ next_random_seed <- function(seed = get_random_seed()) {
sample.int(n = 1L, size = 1L, replace = FALSE)
seed_next <- get_random_seed()

stopifnot(!any(seed_next != seed))
stopifnot(identical(seed_next, seed))

invisible(seed_next)
}
Expand Down

0 comments on commit edb022b

Please sign in to comment.