Skip to content
This repository was archived by the owner on Apr 26, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion concrete/mutablegr.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (g *Graph) EdgeBetween(n, neigh graph.Node) graph.Edge {
return nil
}

return g.neighbors[n.ID()][neigh.ID()]
return g.neighbors[n.ID()][neigh.ID()].Edge
}

func (g *Graph) NodeExists(n graph.Node) bool {
Expand Down
2 changes: 1 addition & 1 deletion concrete/mutdir.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (g *DirectedGraph) EdgeTo(n, succ graph.Node) graph.Edge {
if !ok {
return nil
}
return edge
return edge.Edge
}

func (g *DirectedGraph) Predecessors(n graph.Node) []graph.Node {
Expand Down