Trait LogpError

Source
pub trait LogpError: Error + Send {
    // Required method
    fn is_recoverable(&self) -> bool;
}
Expand description

Errors that happen when we evaluate the logp and gradient function

Required Methods§

Source

fn is_recoverable(&self) -> bool

Unrecoverable errors during logp computation stop sampling, recoverable errors are seen as divergences.

Implementors§