diff --git a/algorithms/Centrality/pagerank/global/weighted/tg_pagerank_wt.gsql b/algorithms/Centrality/pagerank/global/weighted/tg_pagerank_wt.gsql index 5cdbd993..2d824e1e 100644 --- a/algorithms/Centrality/pagerank/global/weighted/tg_pagerank_wt.gsql +++ b/algorithms/Centrality/pagerank/global/weighted/tg_pagerank_wt.gsql @@ -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)