Fix clippy warnings.

This commit is contained in:
2020-09-08 15:32:29 +02:00
parent 5aaada0c05
commit a7cb6edbf3
11 changed files with 30 additions and 29 deletions

View File

@@ -23,7 +23,7 @@ pub struct DifferenceModel {
impl DifferenceModel {
pub fn new(var: f64) -> Self {
DifferenceModel {
storage: Storage::new(),
storage: Storage::default(),
last_t: f64::NEG_INFINITY,
observations: Vec::new(),
_last_method: None,