Skip to content

Commit 91cc137

Browse files
Update tg_cycle_detection_batch.gsql
1 parent 52006a7 commit 91cc137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algorithms/Path/cycle_detection/full_result/batch/tg_cycle_detection_batch.gsql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Stop passing the sequence (v1,v2,v3, ...) when:
1818
FOREACH batch_number in RANGE[0,batch_num-1] DO
1919
Active = SELECT s
2020
FROM all:s
21-
WHERE %batch_num==batch_number
21+
WHERE getvid(s)%batch_num==batch_number
2222
ACCUM s.@curr_list = [s];
2323
WHILE Active.size() > 0 LIMIT depth DO
2424
Active = SELECT t

0 commit comments

Comments
 (0)