diff --git a/examples/benchmarks/Deriv.roc b/examples/benchmarks/Deriv.roc index 90e641cb0f..46ae9c73f7 100644 --- a/examples/benchmarks/Deriv.roc +++ b/examples/benchmarks/Deriv.roc @@ -41,7 +41,7 @@ Expr : [ Val I64, Var Str, Add Expr Expr, Mul Expr Expr, Pow Expr Expr, Ln Expr divmod : I64, I64 -> Result { div : I64, mod : I64 } [ DivByZero ]* divmod = \l, r -> - when Pair (Num.divFloorChecked l r) (Num.remChecked l r) is + when Pair (Num.divTruncChecked l r) (Num.remChecked l r) is Pair div (Ok mod) -> Ok { div, mod }