Skip to content

Commit 539ac9b

Browse files
committed
Update examples.
1 parent 96be687 commit 539ac9b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/apply_geography.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ and similarly for graph traversal costs `delta_tau`.
3232
3333
# Examples
3434
```julia
35-
param, graph = create_graph(init_parameters())
35+
graph = create_graph(init_parameters())
3636
geography = (z = 10*(rand(graph[:J]) .> 0.95), obstacles = [1 15; 70 72])
3737
updated_graph = apply_geography(graph, geography)
3838

src/main/create_graph.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Initialize the underlying graph, population and productivity parameters.
2525
2626
# Examples
2727
```julia
28-
graph = create_graph()
28+
graph = create_graph(init_parameters())
2929
```
3030
"""
3131
function create_graph(param, w = 11, h = 11; type = "map", kwargs...)

0 commit comments

Comments
 (0)