Change Sum function incompatible
This commit is contained in:
parent
e3709e0f7d
commit
0726a0b58f
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
package math
|
||||
|
||||
func Sum(a, b int) int {
|
||||
func Sum(a, b float64) float64 {
|
||||
return a + b
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue