graph/path/...: update for int64 IDs

This commit is contained in:
kortschak
2017-06-16 11:05:28 +09:30
committed by Dan Kortschak
parent 9d34456e6d
commit 15ecc07d40
20 changed files with 93 additions and 93 deletions

View File

@@ -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