Skip to content

Commit f3266bd

Browse files
committed
fix: fmt
1 parent 2ee51d6 commit f3266bd

File tree

1 file changed

+3
-3
lines changed
  • datafusion/functions/src/math

1 file changed

+3
-3
lines changed

datafusion/functions/src/math/log.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ where
125125
{
126126
return if unscaled > 0 {
127127
Ok(unscaled.ilog(base as u128) as f64)
128-
} else {
129-
Ok(f64::NAN)
128+
} else {
129+
Ok(f64::NAN)
130130
};
131131
}
132132

@@ -1192,7 +1192,7 @@ mod tests {
11921192
assert!(
11931193
log_result.is_finite() && log_result > 0.0,
11941194
"Expected positive finite log result, got {log_result}"
1195-
);
1195+
);
11961196
}
11971197
ColumnarValue::Scalar(_) => {
11981198
panic!("Expected an array value")

0 commit comments

Comments
 (0)