fix: None strain pt 2

This commit is contained in:
tsunyoku
2023-01-22 18:50:22 +00:00
parent 59317dff02
commit a243c7efcf
+1 -1
View File
@@ -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()