fix: None strain pt 2
This commit is contained in:
@@ -55,7 +55,7 @@ impl Speed {
|
||||
.object_strains
|
||||
.iter()
|
||||
.max_by(|a, b| a.partial_cmp(b).unwrap())
|
||||
.unwrap();
|
||||
.unwrap_or(&0.0);
|
||||
|
||||
self.object_strains
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user