-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic: runtime error caused by restore() #81
Comments
panic: runtime error: index out of range github.com/soniakeys/graph.(*negCyc).restore(0xc000078680, 0xc00022e680, 0x7, 0x8) |
I got the following error:
panic: runtime error: slice bounds out of range
github.com/soniakeys/graph.(*negCyc).restore(0xc00051c0d0, 0xc000144380, 0x8, 0x8)
C:/gopath/pkg/mod/github.com/soniakeys/graph@v0.0.0/dir.go:688 +0x11c
github.com/soniakeys/graph.(*negCyc).zL(0xc00051c0d0, 0xc000000000, 0xc0004746a8, 0x1, 0x1, 0x3fe2138300000008, 0x3fe21383aaa28db8, 0x20, 0x82fce0, 0x8, ...)
C:/gopath/pkg/mod/github.com/soniakeys/graph@v0.0.0/dir.go:710 +0x26e
github.com/soniakeys/graph.(*negCyc).step2(0xc00051c0d0, 0x0, 0xc0004746a8, 0x1, 0x1, 0xc0004974a0)
C:/gopath/pkg/mod/github.com/soniakeys/graph@v0.0.0/dir.go:544 +0xe8
github.com/soniakeys/graph.(*negCyc).all_nc(0xc00051c0d0, 0x0, 0xc0004746a8, 0x1, 0x1, 0xc0004974a0)
C:/gopath/pkg/mod/github.com/soniakeys/graph@v0.0.0/dir.go:529 +0x131
github.com/soniakeys/graph.(*negCyc).step4(0xc00051c0d0, 0xc00011c240, 0x6, 0x8, 0xc000000000, 0xc0004746a8, 0x1, 0x1, 0x8, 0xc00011c240, ...)
C:/gopath/pkg/mod/github.com/soniakeys/graph@v0.0.0/dir.go:604 +0x1d3
github.com/soniakeys/graph.(*negCyc).all_nc(0xc00051c0d0, 0x0, 0x0, 0x0, 0x0, 0xc00051c0d0)
C:/gopath/pkg/mod/github.com/soniakeys/graph@v0.0.0/dir.go:538 +0xe3
github.com/soniakeys/graph.LabeledDirected.NegativeCycles(0xc0003ae240, 0xc, 0xc, 0xc0001843c0, 0xc00015e100)
C:/gopath/pkg/mod/github.com/soniakeys/graph@v0.0.0/dir.go:492 +0x7a
The text was updated successfully, but these errors were encountered: