Skip to content

Commit

Permalink
Remove println from function
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmech committed Jul 31, 2023
1 parent 67b7f4d commit 76d6eee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion russell_lab/src/linear_fitting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 76d6eee

Please sign in to comment.