Skip to content

Commit 564391c

Browse files
authored
Update tg_louvain.gsql
fix type. is->if
1 parent 379ac6b commit 564391c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algorithms/Community/louvain/tg_louvain.gsql

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CREATE QUERY tg_louvain(SET<STRING> v_type, SET<STRING> e_type, STRING wt_attr =
88
Parameters:
99
v_type: vertex types to traverse
1010
e_type: edge types to traverse
11-
wt_attr: attribute name for edge weights use empty string is graph is unweighted
11+
wt_attr: attribute name for edge weights use empty string if graph is unweighted
1212
wt_attr type is hardcoded to FLOAT INT or DOUBLE can be supported by changing all `e.getAttr(wt_attr, "FLOAT")`
1313
to `e.getAttr(wt_attr, "INT")` or `e.getAttr(wt_attr, "DOUBLE")`
1414
* note: when there is a weight attribute missmatch, there may not be an explicit error message

0 commit comments

Comments
 (0)