Skip to content

Commit

Permalink
be consistent with cloning PyExpr
Browse files Browse the repository at this point in the history
  • Loading branch information
petrosbar authored and stinodego committed Jan 11, 2024
1 parent 875453b commit a6d152d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py-polars/src/expr/general.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ impl PyExpr {
}

fn is_between(&self, lower: Self, upper: Self, closed: Wrap<ClosedInterval>) -> Self {
self.clone()
.inner
self.inner
.clone()
.is_between(lower.inner, upper.inner, closed.0)
.into()
}
Expand Down

0 comments on commit a6d152d

Please sign in to comment.