From 0726a0b58fd8efb24a082f6133fb3f2159698a8a Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 27 Nov 2023 14:55:38 +0300 Subject: [PATCH] Change Sum function incompatible --- math/math.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/math.go b/math/math.go index 72b8887..83d6783 100644 --- a/math/math.go +++ b/math/math.go @@ -1,6 +1,6 @@ package math -func Sum(a, b int) int { +func Sum(a, b float64) float64 { return a + b }