We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7c8c5b commit 886dbefCopy full SHA for 886dbef
1 file changed
datafusion/functions-aggregate/src/percentile_cont.rs
@@ -917,9 +917,8 @@ mod tests {
917
// Interpolating between 0 and the max finite f16 value previously overflowed
918
// intermediate f16 computations and produced NaN.
919
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");
+ let result = calculate_percentile::<Float16Type>(&mut values, 0.5)
+ .expect("non-empty input");
923
let result_f = result.to_f32();
924
assert!(
925
!result_f.is_nan(),
0 commit comments