How can I fix it in swift 5 ?
Binary operator '/' cannot be applied to two '() -> [Double]' operands
How can I fix it in swift 5 ?
Binary operator '/' cannot be applied to two '() -> [Double]' operands
Nobody can "fix" this without seeing the actual code that has the error, so please post that. Remember to use the "code block" formatting feature in the editor, and cut down the code sample to the bare minimum that still demonstrates the issue.
But first, consider the error message: the compiler says you are trying to divide two operands which aren't actually numbers, but which are actually each a function or closure. Why is that? Are you intending to divide two numbers? If so, why does the compiler think they aren't numbers? Work backward from the point of the error to see how each operand is defined.
Show code please.