Skip to content

Commit ea0ac73

Browse files
committed
Remove edge_data_type method for AbstractTensorNetwork
An `AbstractTensorNetwork` has edge type `Nothing`, which can be obtained from the `AbstractDataGraph` method.
1 parent 59f208f commit ea0ac73

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/abstracttensornetwork.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ abstract type AbstractTensorNetwork{V, VD} <: AbstractDataGraph{V, VD, Nothing}
1717
# Need to be careful about removing edges from tensor networks in case there is a bond
1818
Graphs.rem_edge!(::AbstractTensorNetwork, edge) = not_implemented()
1919

20-
DataGraphs.edge_data_type(::Type{<:AbstractTensorNetwork}) = not_implemented()
21-
2220
# Graphs.jl overloads
2321
function Graphs.weights(graph::AbstractTensorNetwork)
2422
V = vertextype(graph)

0 commit comments

Comments
 (0)