From 76d6eee7e2b6f39f5398dbbec3da19536a8519da Mon Sep 17 00:00:00 2001 From: Dorival Pedroso Date: Mon, 31 Jul 2023 19:04:43 +1000 Subject: [PATCH] Remove println from function --- russell_lab/src/linear_fitting.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/russell_lab/src/linear_fitting.rs b/russell_lab/src/linear_fitting.rs index 7468f6cb..f789f1d3 100644 --- a/russell_lab/src/linear_fitting.rs +++ b/russell_lab/src/linear_fitting.rs @@ -47,7 +47,6 @@ pub fn linear_fitting(x: &Vector, y: &Vector, pass_through_zero: bool) -> Result m = sum_xy / sum_xx; } else { let den = sum_x * sum_x - n * sum_xx; - println!("den = {}", den); if den == 0.0 { return Ok((0.0, f64::INFINITY)); }