Skip to content

Commit

Permalink
Merge pull request #147 from tigergraph/GML-1628
Browse files Browse the repository at this point in the history
[GML-1628] fix(algs): fix weighted pagerank to return scores for all nodes;
  • Loading branch information
katinar authored Apr 15, 2024
2 parents e48be02 + 1b7c65a commit ccd260f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ IF file_path != "" THEN
f.println("Vertex_ID", "PageRank");
END;

V_all = {v_type};
V = SELECT s
FROM Start:s
FROM V_all:s
POST-ACCUM
IF result_attribute != "" THEN
s.setAttr(result_attribute, s.@sum_score)
Expand Down

0 comments on commit ccd260f

Please sign in to comment.