Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting tolerance instead of max in delay options doesn't work #665

Open
sbfnk opened this issue May 9, 2024 · 0 comments
Open

setting tolerance instead of max in delay options doesn't work #665

sbfnk opened this issue May 9, 2024 · 0 comments

Comments

@sbfnk
Copy link
Contributor

sbfnk commented May 9, 2024

Summary:
The delay_opts() family of functions sets a default tolerance and thus should work without setting a maximum. Currently, however, doing so results in an error.

Reproducible Steps:

library("EpiNow2")
#> 
#> Attaching package: 'EpiNow2'
#> The following object is masked from 'package:stats':
#> 
#>     Gamma
generation_time_opts(Gamma(mean = 3.6, sd = 3.1))
#> Error in check_stan_delay(dist): All distribution passed to the model need to have a finite maximum

Created on 2024-05-09 with reprex v2.1.0

Related: #533

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant