Skip to content

Commit

Permalink
Update src/PolyhedralGeometry/triangulations.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
benlorenz authored Jul 14, 2023
1 parent f41db16 commit 7ff4f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PolyhedralGeometry/triangulations.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using JSON
using TOPCOM_jll

function _postprocess_polymake_triangs(triangs::Polymake.LibPolymake.Array{Polymake.LibPolymake.Set{Polymake.LibPolymake.Set{Int}}})
function _postprocess_polymake_triangs(triangs::Polymake.Array{Polymake.Set{Polymake.Set{Polymake.to_cxx_type(Int)}}})
result = Vector{Vector{Int}}[]
for triang in triangs
push!(result, [Polymake.to_one_based_indexing(Vector{Int}(t)) for t in triang])
Expand Down

0 comments on commit 7ff4f8c

Please sign in to comment.