Skip to content

Commit 2f9b162

Browse files
committed
WIP
1 parent 975b30a commit 2f9b162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unify.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ static bool unify_lists(query *q, cell *p1, pl_idx p1_ctx, cell *p2, pl_idx p2_c
11181118
DEREF_CHECKED(any2, both, e1->save_vgen1, e1, e1->vgen1, p1, p1_ctx, q->vgen);
11191119
DEREF_CHECKED(any2, both, e2->save_vgen2, e2, e2->vgen2, p2, p2_ctx, q->vgen);
11201120

1121-
if (q->cycle_error) {
1121+
if (both && q->cycle_error) {
11221122
skip = true;
11231123
break;
11241124
}

0 commit comments

Comments
 (0)