I am trying to create two methods with the following arguments but the compiler is complaining that they are ambiguous. I am following a youtube series to learn Swift and it seems to be fine in the video there. What am I missing?
func performOperation(operation: Double -> Double){
func performOperation(operation:(Double, Double)->Double){