Skip to content

Commit

Permalink
Fix example: Specify new mandatory argument
Browse files Browse the repository at this point in the history
  • Loading branch information
franzmohr committed Jul 23, 2023
1 parent 4188e87 commit e71ae78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ stochvol_ksc1998 <- function(y, h, sigma, h_init, constant) {
#' h <- rep(h_init, length(y))
#'
#' # Obtain draw
#' stochvol_ocsn2007(y - mean(y), h, .05, h_init)
#' stochvol_ocsn2007(y - mean(y), h, .05, h_init, 0.0001)
#'
#' @references
#'
Expand Down
2 changes: 1 addition & 1 deletion man/stochvol_ocsn2007.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/stochvol_ocsn2007.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
//' h <- rep(h_init, length(y))
//'
//' # Obtain draw
//' stochvol_ocsn2007(y - mean(y), h, .05, h_init)
//' stochvol_ocsn2007(y - mean(y), h, .05, h_init, 0.0001)
//'
//' @references
//'
Expand Down

0 comments on commit e71ae78

Please sign in to comment.