Skip to content

Commit ff2e32b

Browse files
committed
fix: Add correct annotation to min and pow functions.
1 parent 7a730e2 commit ff2e32b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DataFrame/Functions.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,13 +309,13 @@ zScore :: Expr Double -> Expr Double
309309
zScore c = (c - mean c) / stddev c
310310

311311
pow :: (Columnable a, Num a) => Expr a -> Int -> Expr a
312-
pow expr i = lift2Decorated (^) "max" (Just "^") True 8 expr (Lit i)
312+
pow expr i = lift2Decorated (^) "pow" (Just "^") True 8 expr (Lit i)
313313

314314
relu :: (Columnable a, Num a, Ord a) => Expr a -> Expr a
315315
relu = liftDecorated (Prelude.max 0) "relu" Nothing
316316

317317
min :: (Columnable a, Ord a) => Expr a -> Expr a -> Expr a
318-
min = lift2Decorated Prelude.min "max" Nothing True 1
318+
min = lift2Decorated Prelude.min "min" Nothing True 1
319319

320320
max :: (Columnable a, Ord a) => Expr a -> Expr a -> Expr a
321321
max = lift2Decorated Prelude.max "max" Nothing True 1

0 commit comments

Comments
 (0)