mirror of
https://github.com/gonum/gonum.git
synced 2025-10-18 21:15:23 +08:00
graph/path/...: update for int64 IDs
This commit is contained in:
@@ -30,9 +30,9 @@ func (d *dumper) dump(withpath bool) {
|
||||
if d == nil {
|
||||
return
|
||||
}
|
||||
var pathStep map[int]int
|
||||
var pathStep map[int64]int
|
||||
if withpath {
|
||||
pathStep = make(map[int]int)
|
||||
pathStep = make(map[int64]int)
|
||||
path, _ := d.dStarLite.Path()
|
||||
for i, n := range path {
|
||||
pathStep[n.ID()] = i
|
||||
|
Reference in New Issue
Block a user