Skip to content

Commit

Permalink
fix: logged avg stats
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Oct 22, 2023
1 parent 5ad083e commit a4b9e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/algorithms/src/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl Stats {
"|| [CLUSTERS] Total: {} | Avg Points: {}",
self.total_clusters,
if self.total_clusters > 0 {
self.total_points / self.total_clusters
self.points_covered / self.total_clusters
} else {
0
},
Expand Down

0 comments on commit a4b9e00

Please sign in to comment.