Skip to content

Commit 911cb14

Browse files
committed
Fix fatal bug in definition of traverse
1 parent a19342e commit 911cb14

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PlantGraphs"
22
uuid = "615ad455-9aac-4340-9247-71ef610f781a"
33
authors = ["Alejandro Morales Sierra <alejandro.moralessierra@wur.nl> and contributors"]
4-
version = "0.1.1"
4+
version = "0.1.2"
55

66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"

src/Algorithms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ julia> traverse(g, fun = f, order = "dfs");
7878
julia> traverse(g, fun = f, order = "bfs");
7979
```
8080
"""
81-
function traverse(g::StaticGraph; fun = () -> nothing, order = "any", ID = root_id(g))
81+
function traverse(g::Graph; fun = () -> nothing, order = "any", ID = root_id(g))
8282
traverse(static_graph(g), fun = fun, order = order, ID = ID)
8383
end
8484

0 commit comments

Comments
 (0)