Skip to content

Commit 886dbef

Browse files
committed
chore: apply rustfmt
1 parent b7c8c5b commit 886dbef

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

datafusion/functions-aggregate/src/percentile_cont.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -917,9 +917,8 @@ mod tests {
917917
// Interpolating between 0 and the max finite f16 value previously overflowed
918918
// intermediate f16 computations and produced NaN.
919919
let mut values = vec![f16::from_f32(0.0), f16::from_f32(65504.0)];
920-
let result =
921-
calculate_percentile::<Float16Type>(&mut values, 0.5)
922-
.expect("non-empty input");
920+
let result = calculate_percentile::<Float16Type>(&mut values, 0.5)
921+
.expect("non-empty input");
923922
let result_f = result.to_f32();
924923
assert!(
925924
!result_f.is_nan(),

0 commit comments

Comments
 (0)