Skip to content

Commit 30093f2

Browse files
committed
AdjList: Use simple storage by default
1 parent 8ba1378 commit 30093f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/DaggerGraphs/src/adjlist.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ struct AdjList{T,D,A<:AbstractAdjListStorage{T,D}}
162162
end
163163
AdjList{T,D}(adjlist::AbstractAdjListStorage{T,D}) where {T,D} =
164164
AdjList{T,D,typeof(adjlist)}(adjlist)
165-
# TODO: AdjList{T,D}() where {T,D} = AdjList{T,D}(SimpleAdjListStorage{T,D}())
166-
AdjList{T,D}() where {T,D} = AdjList{T,D}(SparseAdjListStorage{T,D}())
165+
AdjList{T,D}() where {T,D} = AdjList{T,D}(SimpleAdjListStorage{T,D}())
166+
#AdjList{T,D}() where {T,D} = AdjList{T,D}(SparseAdjListStorage{T,D}())
167167
AdjList() = AdjList{Int,true}()
168168
Base.copy(adj::AdjList{T,D,A}) where {T,D,A} = AdjList{T,D,A}(copy(adj.data))
169169
Graphs.ne(adj::AdjList) = length(adj.data) # TODO: Use ne()

0 commit comments

Comments
 (0)