Skip to content

Commit

Permalink
Update src/iterators/bfs.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Christensen <tchr@mit.edu>
  • Loading branch information
kylebeggs and thchr authored Mar 15, 2023
1 parent ced6e7b commit a2a6b17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iterators/bfs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ julia> for node in BFSIterator(g,[1,3])
2
```
"""
struct BFSIterator{S} <: VertexIterator
graph::AbstractGraph
struct BFSIterator{S, T<:AbstractGraph{S}} <: VertexIterator
graph::T
source::S
end

Expand Down

0 comments on commit a2a6b17

Please sign in to comment.