nebneuron / Simplicial.jl

A package for various computations with simplicial complexes, combinatorial codes, directed complexes and their filtrations.
Other
27 stars 9 forks source link

building the filtration of a simplicial complex from a single complex is broken in Julia 1.5 #26

Closed vitskov closed 4 years ago

vitskov commented 4 years ago

julia> K=SimplicialComplex([[1,2], [1,3], [2,3]]) SimplicialComplex{Int64} 1-dimensional simplicial complex on 3 vertices with 3 facets V = {1, 2, 3} 1 2 1 3 2 3

julia> F=FiltrationOfSimplicialComplexes(K) ERROR: MethodError: no method matching Array{Set{Int16},N} where N(::Int64) Closest candidates are: Array{Set{Int16},N} where N(::UndefInitializer, ::Int64) where T at boot.jl:420 Array{Set{Int16},N} where N(::UndefInitializer, ::Int64, ::Int64) where T at boot.jl:421 Array{Set{Int16},N} where N(::UndefInitializer, ::Int64, ::Int64, ::Int64) where T at boot.jl:422 ... Stacktrace: [1] FiltrationOfSimplicialComplexes(::Array{Set{Int16},1}, ::Array{Int64,1}) at /Users/vladimiritskov/.julia/packages/Simplicial/G3A2o/src/SimplicialComplexes/FiltrationOfSimplicialComplexes.jl:21 [2] FiltrationOfSimplicialComplexes(::SimplicialComplex{Int64}) at /Users/vladimiritskov/.julia/packages/Simplicial/G3A2o/src/SimplicialComplexes/FiltrationOfSimplicialComplexes.jl:63