Added clone to Rating.

This commit is contained in:
2019-09-18 14:18:57 +02:00
parent f7958c47bc
commit f923f204b3

View File

@@ -72,7 +72,7 @@ pub trait RateableMut {
fn sigma_mut(&mut self) -> &mut f64;
}
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Clone)]
pub struct Rating {
pub mu: f64,
pub sigma: f64,