Skip to content

Commit

Permalink
another conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
benlorenz committed Jul 19, 2024
1 parent 69b4030 commit e4cd37e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/convert.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ convert_to_pm_type(::Type{<:Pair{A,B}}) where {A,B} = StdPair{convert_to_pm_type
convert_to_pm_type(::Type{<:Tuple{A,B}}) where {A,B} = StdPair{convert_to_pm_type(A),convert_to_pm_type(B)}
convert_to_pm_type(::Type{<:Polynomial{<:Rational, <:Union{Int64, CxxWrap.CxxLong}}}) = Polynomial{Rational, CxxWrap.CxxLong}
convert_to_pm_type(::Type{<:AbstractVector{T}}) where T<:Tuple = Polymake.Array{convert_to_pm_type(T)}
convert_to_pm_type(::Type{<:BasicDecoration}) = BasicDecoration

Check warning on line 110 in src/convert.jl

View check run for this annotation

Codecov / codecov/patch

src/convert.jl#L110

Added line #L110 was not covered by tests

# Graph, EdgeMap, NodeMap
const DirType = Union{Directed, Undirected}
Expand Down

0 comments on commit e4cd37e

Please sign in to comment.