Skip to content

Commit

Permalink
fix access edge values example (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
hexaeder authored Dec 12, 2022
1 parent 9644319 commit 4372d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/accessing_edge_values.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ sol = solve(ode_prob, Tsit5());
plot(sol; vars=syms_containing(nd, "v"))

# accessing edge values via helper function GetGD
gd_nd = nd(sol(1.0), 1.0, nothing, GetGD) # exposes underlying graph data struct
gd_nd = nd(sol(1.0), nothing, 1.0, GetGD) # exposes underlying graph data struct with p=nothing and t=1.0
e_values = gd_nd.gdb.e_array


Expand Down

0 comments on commit 4372d44

Please sign in to comment.