fix: None strain?

This commit is contained in:
tsunyoku
2023-01-22 18:47:33 +00:00
parent 2e6dd4ba45
commit 59317dff02
+1 -1
View File
@@ -38,7 +38,7 @@ impl Aim {
.object_strains
.iter()
.max_by(|a, b| a.partial_cmp(b).unwrap())
.unwrap();
.unwrap_or(&0.0);
self.object_strains
.iter()