I am getting type failures when dealing with vectors parametric types, and 
I am not sure of the reason.

z = Belief[a,b]
function Testa{D <: DistributionType}(basin::Vector{Belief{D}})
  "Test"
end


Testa(z)

typeof(z)

yields

Array{Belief{D<:DistributionType},1}

Which is as far as I can see is the signature of the function.  But I get 
the Testa has no method matching

Testa(::Array{Belief{D<:DistributionType},1})

What am I doing wrong?

Reply via email to