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 Nov 1, 2023
1 parent 5aed1fe commit 2f34637
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 2f34637

Please sign in to comment.