Skip to content

Commit 0d63136

Browse files
committed
Fix a small bug that can cause the return columns not matching with the requested method
1 parent 67c5e06 commit 0d63136

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/mod_fit.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ FitBLSP <- function(date_vec, vi_vec,
291291
weights_vec,
292292
cred_int_level,
293293
mod,
294-
method = "default"
294+
method = tolower(opt$method)
295295
)
296296

297297
return(blsp_fit)

0 commit comments

Comments
 (0)