Yeah, that's what I've been using. My issue with it is that the 
declarations get long for functions with more than 2 arrays. Was hoping 
there was a more concise way.

On Sunday, May 25, 2014 8:16:58 AM UTC-5, Steven G. Johnson wrote:
>
> On Sunday, May 25, 2014 9:14:46 AM UTC-4, Steven G. Johnson wrote:
>>
>> function foo{T1<:FloatingPoint, T2<:FloatingPoint)(a::Array{T2}, 
>> b::Array{T2})
>>
>
> Whoops, two typos.  This should be:
>
>     function foo{T1<:FloatingPoint, T2<:FloatingPoint}(a::Array{T1}, 
> b::Array{T2}) 
>

Reply via email to