Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
orlp committed Oct 16, 2024
1 parent bb8e15d commit bb3ec53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/polars-plan/src/dsl/function_expr/pow.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use num::pow::Pow;
use num_traits::{Zero, One};
use num_traits::{One, Zero};
use polars_core::export::num;
use polars_core::export::num::{Float, ToPrimitive};
use polars_core::prelude::arity::{unary_elementwise_values, broadcast_binary_elementwise};
use polars_core::prelude::arity::{broadcast_binary_elementwise, unary_elementwise_values};
use polars_core::with_match_physical_integer_type;

use super::*;
Expand Down Expand Up @@ -38,7 +38,7 @@ where
if exponent.len() == 1 {
if let Some(e) = exponent.get(0) {
if e == F::Native::zero() {
return unary_elementwise_values(base, |_| T::Native::one())
return unary_elementwise_values(base, |_| T::Native::one());
}
if e == F::Native::one() {
return base.clone();
Expand Down

0 comments on commit bb3ec53

Please sign in to comment.