Skip to main content

PARAM_DOMAIN

Constant PARAM_DOMAIN 

Source
pub const PARAM_DOMAIN: RangeInclusive<f64>;
Expand description

The declared range of every continuous site in this grammar.

Not a convention: crate::prior samples every one of them from u01(), so a value outside this interval has zero prior mass by construction and is a corruption rather than an unusual patch. Stated once, here, so the check and the repair below cannot drift from the generative model — and so that the day a site wants a different range, this is the line that has to change.