Added builder for History, and start migrating test to use builder instead.

This commit is contained in:
2022-06-22 21:13:24 +02:00
parent a573f5cf0a
commit 73b9cabac8
3 changed files with 216 additions and 70 deletions

View File

@@ -4,8 +4,8 @@ use crate::{MU, N_INF, SIGMA};
#[derive(Clone, Copy, PartialEq, Debug)]
pub struct Gaussian {
pub(crate) mu: f64,
pub(crate) sigma: f64,
pub mu: f64,
pub sigma: f64,
}
impl Gaussian {