Skip to content

Commit 7cb263a

Browse files
authored
fix: Typo in AExprBuilder (#23171)
1 parent 5927b36 commit 7cb263a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/polars-plan/src/plans/aexpr/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ impl AExprBuilder {
9292

9393
pub fn max(self, arena: &mut Arena<AExpr>) -> Self {
9494
Self::agg(
95-
IRAggExpr::Min {
95+
IRAggExpr::Max {
9696
input: self.node(),
9797
propagate_nans: false,
9898
},
@@ -112,7 +112,7 @@ impl AExprBuilder {
112112

113113
pub fn nan_max(self, arena: &mut Arena<AExpr>) -> Self {
114114
Self::agg(
115-
IRAggExpr::Min {
115+
IRAggExpr::Max {
116116
input: self.node(),
117117
propagate_nans: true,
118118
},

0 commit comments

Comments
 (0)