Closed JZschache closed 8 years ago
I came across a small bug: NetLogo expects nw:weighted-path-to to return a number or a boolean instead of a list: https://github.com/NetLogo/NW-Extension/blob/master/src/main/org/nlogo/extensions/nw/prim/Paths.scala#L110
nw:weighted-path-to
This impedes the usage of map [?] (nw:weighted-path-to myself "x")
map [?] (nw:weighted-path-to myself "x")
Thank your for the nw-extension!
Thanks for catching this, @JZschache ! It should be fixed in the forthcoming NetLogo release.
I came across a small bug: NetLogo expects
nw:weighted-path-to
to return a number or a boolean instead of a list: https://github.com/NetLogo/NW-Extension/blob/master/src/main/org/nlogo/extensions/nw/prim/Paths.scala#L110This impedes the usage of
map [?] (nw:weighted-path-to myself "x")
Thank your for the nw-extension!