Skip to content

Commit

Permalink
Remove rng_state assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
0liver0815 committed Sep 15, 2023
1 parent 6c6fd66 commit a116a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/Design-methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ set_seed <- function(seed = NULL) {
runif(1)
}

rng_state <- if (is.null(seed)) {
if (is.null(seed)) {
get(".Random.seed", envir = .GlobalEnv)
} else {
seed <- as.integer(seed)
Expand Down

0 comments on commit a116a27

Please sign in to comment.