Add missing impls to *InverseGaussian errors
This commit is contained in:
@@ -3,7 +3,7 @@ use num_traits::Float;
|
||||
use rand::Rng;
|
||||
|
||||
/// Error type returned from `InverseGaussian::new`
|
||||
#[derive(Debug, PartialEq)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
pub enum Error {
|
||||
/// `mean <= 0` or `nan`.
|
||||
MeanNegativeOrNull,
|
||||
|
||||
@@ -3,7 +3,7 @@ use num_traits::Float;
|
||||
use rand::Rng;
|
||||
|
||||
/// Error type returned from `NormalInverseGaussian::new`
|
||||
#[derive(Debug, PartialEq)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
pub enum Error {
|
||||
/// `alpha <= 0` or `nan`.
|
||||
AlphaNegativeOrNull,
|
||||
|
||||
Reference in New Issue
Block a user