fixed mismatching types

This commit is contained in:
2025-07-31 09:52:35 +02:00
parent 479e9b282d
commit 36f6fb3566

View File

@@ -375,7 +375,7 @@ impl MetricsCollector {
0.0
};
let avg_temp = if count > 0 { temp / count as f64 } else { 0.0 };
let avg_temp = if count > 0 { temp / count as f32 } else { 0.0 };
(size_gb, usage, avg_temp)
};