Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaxin Gao committed Apr 10, 2024
1 parent 20e213b commit ebfb29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/execution/datafusion/expressions/covariance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ impl Accumulator for CovarianceAccumulator {
if count == 0.0 {
Ok(ScalarValue::Float64(None))
} else {
Ok(ScalarValue::Float64(Some(self.algo_const / count as f64)))
Ok(ScalarValue::Float64(Some(self.algo_const / count)))
}
}

Expand Down

0 comments on commit ebfb29b

Please sign in to comment.