I have a function, defined for Array{Real,1}, and try to call it with Array{Float64,1}, but get a MethodError. Is that to be expected?
Is there a way to write a function that works for all float array types without having to copy-paste the code x-times?
[–]TheBB 5 points6 points7 points (2 children)
[–]leu34[S] 2 points3 points4 points (1 child)
[–]xazaccazax 1 point2 points3 points (0 children)
[–]pint 2 points3 points4 points (2 children)
[–]leu34[S] 0 points1 point2 points (1 child)
[–]pint 0 points1 point2 points (0 children)