Skip to content

Commit

Permalink
fix: correct foi_sigma_rw parameters set up
Browse files Browse the repository at this point in the history
  • Loading branch information
ntorresd committed Aug 15, 2024
1 parent 3461930 commit 9d64eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/build_stan_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ build_stan_data <- function(
stan_data$foi_sd <- foi_prior$sd
}

if(is_log_foi) {
if (foi_sigma_rw$name == "cauchy") {
stan_data$foi_sigma_rw_loc <- foi_sigma_rw$location
stan_data$foi_sigma_rw_sc <- foi_sigma_rw$scale
}
Expand Down

0 comments on commit 9d64eae

Please sign in to comment.