change type of argument

This commit is contained in:
filifa 2025-05-02 01:09:19 -04:00
parent 2e48c11582
commit d88a5d28f8
1 changed files with 1 additions and 1 deletions

View File

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