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