Skip to content

Commit

Permalink
Merge pull request #44 from bbsBayes/update-initial-values
Browse files Browse the repository at this point in the history
remove warning about duplicating initial values
  • Loading branch information
AdamCSmithCWS authored Jul 28, 2023
2 parents 2ad53d2 + 412d7ae commit f91cf7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/checks.R
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ check_basis <- function(basis) {
check_init <- function(init, chains) {
if(inherits(init, "list")) {
if(length(init) != chains) {
message("One set of `init` values supplied, duplicating for each chain.")
#message("One set of `init` values supplied, duplicating for each chain.")
orig <- init
init <- list()
for(n in seq_len(chains)) init[[n]] <- orig
Expand Down

0 comments on commit f91cf7d

Please sign in to comment.