Skip to content

Commit a8cae74

Browse files
committed
[ALGOS-267] feat(algos): Fix bugs for template query;
1 parent 0c6d666 commit a8cae74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GDBMS_ALGO/community/louvain.gsql

+2-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ CREATE TEMPLATE QUERY GDBMS_ALGO.community.louvain(
377377
END,
378378
IF file_path != "" THEN
379379
IF v_type_set.size() == 1 THEN
380-
f.println(s.id, s.@community_id)
380+
VERTEX node = s.@community_id,
381+
f.println(s, node)
381382
ELSE
382383
VERTEX node = s.@community_id,
383384
f.println(s.type, s, node.type, node)

0 commit comments

Comments
 (0)