fix: Same edge function

This commit is contained in:
Keang 2021-12-11 01:17:59 +11:00
parent 2c8cff96f2
commit a1b08aa300

View File

@ -151,7 +151,7 @@
} }
for (const edge of next) { for (const edge of next) {
if (!set.has(`${edge.source}-${edge.target}`)) { if (!set.has(`${edge.source.id}-${edge.target.id}`)) {
return false; return false;
} }
} }