mirror of
https://github.com/gonum/gonum.git
synced 2025-10-06 15:47:01 +08:00
graph/...: remove Weight method from Edge
This commit is contained in:
@@ -155,7 +155,7 @@ type directedGraph struct {
|
||||
}
|
||||
|
||||
func newDirectedGraph() *directedGraph {
|
||||
return &directedGraph{DirectedGraph: simple.NewDirectedGraph(0, 0)}
|
||||
return &directedGraph{DirectedGraph: simple.NewDirectedGraph()}
|
||||
}
|
||||
|
||||
func (g *directedGraph) NewNode() graph.Node {
|
||||
|
Reference in New Issue
Block a user