OMEinsum.jl
OMEinsum.jl copied to clipboard
promote_type stack overflow
In
@inline function get_size_dict(ixs, xs, size_info=nothing)
LT = promote_type(eltype.(ixs)...)
return get_size_dict!(ixs, xs, size_info===nothing ? Dict{LT,Int}() : size_info)
end
the function promote_type
is directly used and I found when the eltype.(ixs)
is large (greater that 10000 for example), it causes stack overflow.