change type of argument
This commit is contained in:
parent
2e48c11582
commit
d88a5d28f8
|
@ -46,7 +46,7 @@ func (g *AbsorbingMarkovChain) IsValid() bool {
|
|||
return true
|
||||
}
|
||||
|
||||
func (g *AbsorbingMarkovChain) outWeightSum(u *node) float64 {
|
||||
func (g *AbsorbingMarkovChain) outWeightSum(u graph.Node) float64 {
|
||||
sum := 0.0
|
||||
for nodes := g.From(u.ID()); nodes.Next(); {
|
||||
v := nodes.Node()
|
||||
|
|
Loading…
Reference in New Issue