-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I have the facets fct
(maximal simplices) of the 8-dimensional real projective space RP8, obtained from SageMath. I wish to benchmark Ripser
computing its homology (as a trivial filtration where all simplices are in level 0).
julia> typeof(fct), length(fct), extrema(v for σ∈fct for v∈σ)
(Vector{Vector{Int64}}, 1814400, (1, 511))
julia> flt = Ripserer.Custom([Tuple(σ)=>1 for σ∈fct]; threshold=1);
ERROR: OverflowError: simplex (511, 510, 368, 333, 328, 217, 214, 83, 36) overflows in UniformScaling{Bool}(true)! Try using a bigger index type in your filtration.
Stacktrace:
[1] index_overflow_check(vertices::NTuple{9, Int64}, message::String)
@ Ripserer ~/.julia/packages/Ripserer/r6Usj/src/base/abstractsimplex.jl:156
[2] index_overflow_check
@ ~/.julia/packages/Ripserer/r6Usj/src/base/abstractsimplex.jl:153 [inlined]
[3] (Custom{Int64})(simplices::Vector{Pair{NTuple{9, Int64}, Int64}}; threshold::Int64, verbose::Bool)
@ Ripserer ~/.julia/packages/Ripserer/r6Usj/src/filtrations/custom.jl:177
[4] Custom
@ ~/.julia/packages/Ripserer/r6Usj/src/filtrations/custom.jl:158 [inlined]
[5] #Custom#65
@ ~/.julia/packages/Ripserer/r6Usj/src/filtrations/custom.jl:181 [inlined]
[6] top-level scope
@ REPL[30]:1
I'm not sure how to fix this error.
Metadata
Metadata
Assignees
Labels
No labels