Skip to content

Commit

Permalink
.Call() with symbols, not strings
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Oct 31, 2024
1 parent 9b8d8fe commit e9b089f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rstan/rstan/R/get_rng.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@ get_rng <- function(seed=0L) {
if (length(seed) != 1)
stop("Seed must be a length-1 integer vector.")
}
return(.Call('get_rng_', seed))
return(.Call(get_rng_, seed))
}



0 comments on commit e9b089f

Please sign in to comment.