Skip to content

Commit

Permalink
Fix a small bug that can cause the return columns not matching with t…
Browse files Browse the repository at this point in the history
…he requested method
  • Loading branch information
MrJGao committed Oct 22, 2024
1 parent 67c5e06 commit 0d63136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mod_fit.R
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ FitBLSP <- function(date_vec, vi_vec,
weights_vec,
cred_int_level,
mod,
method = "default"
method = tolower(opt$method)
)

return(blsp_fit)
Expand Down

0 comments on commit 0d63136

Please sign in to comment.