From 5e04ddd653523c26a45ec2f3aee6e0a24a869675 Mon Sep 17 00:00:00 2001 From: "Stanislav Ch. Nikolov" Date: Thu, 17 Mar 2022 04:20:24 +0200 Subject: Fix #1627: Remove wrong return type in cumsum_inplace --- core/math/math.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/math/math.odin b/core/math/math.odin index afbda051d..b711c160f 100644 --- a/core/math/math.odin +++ b/core/math/math.odin @@ -1206,7 +1206,7 @@ prod :: proc "contextless" (x: $T/[]$E) -> (res: E) return } -cumsum_inplace :: proc "contextless" (x: $T/[]$E) -> T +cumsum_inplace :: proc "contextless" (x: $T/[]$E) where intrinsics.type_is_numeric(E) { for i in 1..