This repository has been archived by the owner on Jul 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Error when id equals 0 in getEdgeAt function #2994
Milestone
Comments
steven-network
changed the title
Error when id equals 0 in getEdgeAt function
Error when id equals 0 in getEdgeAt functions
Apr 18, 2017
steven-network
changed the title
Error when id equals 0 in getEdgeAt functions
Error when id equals 0 in getEdgeAt function
Apr 18, 2017
@wimrijnders Is this the same as #2936 (fixed pending release)? |
@bradh No, not the same. The solution is valid. I'll make a PR for this. We really need a way to detect this kind of errors. I hope we can agree on the usage of |
@steven-network Thanks for reporting! |
@wimrijnders you're welcome! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi all,
I discovered a bug in your library when getEdgeAt function is called when edge id equals 0.
I added "overlappingEdge !== null" to return id even if it is 0.
The text was updated successfully, but these errors were encountered: