diff --git a/src/distribution/multivariate_normal.rs b/src/distribution/multivariate_normal.rs index d6f400ec..ff4ec6bc 100644 --- a/src/distribution/multivariate_normal.rs +++ b/src/distribution/multivariate_normal.rs @@ -47,7 +47,7 @@ impl MultivariateNormal { pub fn new(mean: Vec, cov: Vec) -> Result { let mean = DVector::from_vec(mean); let cov = DMatrix::from_vec(mean.len(), mean.len(), cov); - return MultivariateNormal::new_from_nalgebra(mean, cov) + MultivariateNormal::new_from_nalgebra(mean, cov) } /// Constructs a new multivariate normal distribution with a mean of `mean`