Stripping type parameters

That didn’t work for me. I’m on v0.6:

julia> h(x) = loglikelihood( typeof(n).instance(x...), sample )
h (generic function with 1 method)

julia> h([params(n)...])
ERROR: UndefRefError: access to undefined reference
Stacktrace:
 [1] h(::Array{Float64,1}) at ./none:1

julia>