Skip to content

Commit

Permalink
Update ulam-function.R
Browse files Browse the repository at this point in the history
  • Loading branch information
timjzee authored Mar 19, 2024
1 parent bc34b23 commit 7cd5ba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/ulam-function.R
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ ulam <- function( flist , data , pars , pars_omit , start , chains=1 , cores=1 ,
if ( rstanout==TRUE )
stanfit <- rstan::read_stan_csv(cmdstanfit$output_files())
else
stanfit <- read_cmdstan_csv(cmdstanfit$output_files())
stanfit <- as_cmdstan_fit(cmdstanfit$output_files())
}
} else {
if ( cmdstan==FALSE ) {
Expand Down Expand Up @@ -1471,7 +1471,7 @@ ulam <- function( flist , data , pars , pars_omit , start , chains=1 , cores=1 ,
if ( rstanout==TRUE )
stanfit <- rstan::read_stan_csv(cmdstanfit$output_files())
else
stanfit <- read_cmdstan_csv(cmdstanfit$output_files())
stanfit <- as_cmdstan_fit(cmdstanfit$output_files())
}
}
} else {
Expand Down

0 comments on commit 7cd5ba0

Please sign in to comment.