diff --git a/Project.toml b/Project.toml index 1858698..f9bc9a0 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PeriodicGraphs" uuid = "18c5b727-b240-4874-878a-f2e242435bab" authors = ["Lionel Zoubritzky lionel.zoubritzky@gmail.com"] -version = "0.1.2" +version = "0.1.3" [deps] LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d" diff --git a/src/precompile.jl b/src/precompile.jl index 1cf1b99..7a12b8c 100644 --- a/src/precompile.jl +++ b/src/precompile.jl @@ -25,19 +25,24 @@ function _precompile_() @assert Base.precompile(Tuple{typeof(LightGraphs.add_vertices!),PeriodicGraph{i},Int}) @assert Base.precompile(Tuple{typeof(LightGraphs.rem_edge!),PeriodicGraph{i},PeriodicEdge{i}}) @assert Base.precompile(Tuple{typeof(LightGraphs.rem_vertex!),PeriodicGraph{i},Int}) + @assert Base.precompile(Tuple{typeof(collect),PeriodicGraphs.PeriodicEdgeIter{i}}) @assert Base.precompile(Tuple{typeof(LightGraphs.connected_components),PeriodicGraph{i}}) @assert Base.precompile(Tuple{typeof(coordination_sequence),PeriodicGraph{i},Int,Int}) @assert Base.precompile(Tuple{typeof(dimensionality),PeriodicGraph{i}}) + @assert Base.precompile(Tuple{typeof(find_edges),PeriodicGraph{i},Int,Int}) @assert Base.precompile(Tuple{typeof(LightGraphs.has_edge),PeriodicGraph{i},Int,Int}) @assert Base.precompile(Tuple{typeof(LightGraphs.induced_subgraph),PeriodicGraph{i},Vector{Int}}) @assert Base.precompile(Tuple{typeof(Base.isempty),PeriodicGraphs.PeriodicEdgeIter{i}}) @assert Base.precompile(Tuple{typeof(LightGraphs.neighborhood),PeriodicGraph{i},Int,Int}) + @assert Base.precompile(Tuple{typeof(offset_representatives!),PeriodicGraph{i},Vector{Any}}) @assert Base.precompile(Tuple{typeof(offset_representatives!),PeriodicGraph{i},Vector{Int}}) + @assert Base.precompile(Tuple{typeof(offset_representatives!),PeriodicGraph{i},Vector{NTuple{i,Int}}}) @assert Base.precompile(Tuple{typeof(LightGraphs.reverse),PeriodicEdge{i}}) @assert Base.precompile(Tuple{typeof(Base.string),PeriodicEdge{i}}) @assert Base.precompile(Tuple{typeof(Base.string),PeriodicGraph{i}}) @assert Base.precompile(Tuple{typeof(Base.string),PeriodicVertex{i}}) @assert Base.precompile(Tuple{typeof(swap_axes!),PeriodicGraph{i},Vector{Int}}) + @assert Base.precompile(Tuple{typeof(swap_axes!),PeriodicGraph{i},NTuple{i,Int}}) @assert Base.precompile(Tuple{typeof(vertex_permutation),PeriodicGraph{i},Vector{Any}}) end end