Implement Clone and Debug for {Normal,}InverseGaussian
This commit is contained in:
@@ -12,7 +12,7 @@ pub enum Error {
|
||||
}
|
||||
|
||||
/// The [inverse Gaussian distribution](https://en.wikipedia.org/wiki/Inverse_Gaussian_distribution)
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct InverseGaussian<F>
|
||||
where
|
||||
F: Float,
|
||||
|
||||
@@ -12,7 +12,7 @@ pub enum Error {
|
||||
}
|
||||
|
||||
/// The [normal-inverse Gaussian distribution](https://en.wikipedia.org/wiki/Normal-inverse_Gaussian_distribution)
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct NormalInverseGaussian<F>
|
||||
where
|
||||
F: Float,
|
||||
|
||||
Reference in New Issue
Block a user