Skip to content

Commit d7162f5

Browse files
authored
Delete unnecessary vertextype definitions (#53)
1 parent a644807 commit d7162f5

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DataGraphs"
22
uuid = "b5a273c3-7e6c-41f6-98bd-8d7f1525a36a"
3-
version = "0.2.11"
3+
version = "0.2.12"
44
authors = ["Matthew Fishman <mfishman@flatironinstitute.org> and contributors"]
55

66
[deps]

src/abstractdatagraph.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ underlying_graph_type(graph::AbstractDataGraph) = typeof(underlying_graph(graph)
3838
vertex_data_eltype(graph::AbstractDataGraph) = eltype(vertex_data(graph))
3939
edge_data_eltype(graph::AbstractDataGraph) = eltype(edge_data(graph))
4040

41-
# TODO: delete, defined for AbstractGraph{V}?
42-
function GraphsExtensions.vertextype(graph_type::Type{<:AbstractDataGraph})
43-
return vertextype(underlying_graph_type(graph_type))
44-
end
45-
GraphsExtensions.vertextype(graph::AbstractDataGraph) = vertextype(typeof(graph))
46-
4741
Base.zero(graph_type::Type{<:AbstractDataGraph}) = graph_type()
4842

4943
# Graphs overloads

0 commit comments

Comments
 (0)