Skip to main content

LogpError

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§