Open
Description
Description
The uniform_lpdf
, discrete_uniform_lpmf
and pareto_lpdf
all have support determined by parameters. When the variate is not in that support we should be throwing std::domain_error
as elsewhere.
The principle at work here is that we want to fail fast with an informative error message, not just let NaN
values propagate and cause rejections.
Current Version:
v3.1.0