You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Broadening the type on y here would avoid the infinite recursion:
- function with_logabsdet_jacobian(::Inverse{VecCorrBijector}, y::AbstractVector{<:Real})+ function with_logabsdet_jacobian(::Inverse{VecCorrBijector}, y)
julia>inverse(VecCorrBijector())([[1.0]])
ERROR: MethodError: no method matching AbstractFloat(::Type{Vector{Float64}})
The type `AbstractFloat` exists, but no method is defined for this combination of argument types when trying to construct it.
Closest candidates are:AbstractFloat(::Bool)
@ Base float.jl:344AbstractFloat(::Int8)
@ Base float.jl:345AbstractFloat(::UInt32)
@ Base float.jl:352...
causes a stack overflow. It may be a non-sense call, but it should error in a more helpful, manageable way.
The text was updated successfully, but these errors were encountered: