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 committed Oct 29, 2023
1 parent d0e8866 commit 1dc9598
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 @@ -398,8 +398,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 1dc9598

Please sign in to comment.