Closed kafu16 closed 1 year ago
I think you're right. The example code does not show any difference because there is neither a parameter dependency nor an explicit time dependency in the rhs of the system. So in the example you can pass whatever you want in both slots, won't make a difference.
In examples/accessing_edge_values.jl the order of arguments might be not correct. It is
gd_nd = nd(sol(1.0), 1.0, nothing, GetGD) # exposes underlying graph data struct
whereas in the documentation it says
gd_nd = nd(x, p, t, GetGD) # exposes underlying graph data struct
So the order of
p
andt
differs in accessing_edge_values.jl and the documentation.Interestingly, independently of the order of the arguments,
e_values = gd_nd.gdb.e_array
leads to the same results.Also
seems to invoke the function at time
t=1.0
and gives the same results.