Closed vitskov closed 6 years ago
julia> K=SimplicialComplex([[1,2], [], [1,3],[2,3]]) Simplicial.SimplicialComplex{Any} 1-dimensional simplicial complex on 3 vertices with 3 facets V = {1, 2, 3} max K = {Set(Any[2, 1]), Set(Any[3, 1]), Set(Any[2, 3])}
By default, the constant [] is of type Array{Any,1}, whereas, e.g. setdiff([1,2],[1,2]) returns an empty Array{Int,1}.
[]
Array{Any,1}
setdiff([1,2],[1,2])
Array{Int,1}
Should be fixed now
julia> K=SimplicialComplex([[1,2], [], [1,3],[2,3]]) Simplicial.SimplicialComplex{Any} 1-dimensional simplicial complex on 3 vertices with 3 facets V = {1, 2, 3} max K = {Set(Any[2, 1]), Set(Any[3, 1]), Set(Any[2, 3])}
How did Any end up to be the integer type!?