Yap would get order of variables in terms wrong.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@95 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc 2001-06-19 17:51:07 +00:00
parent 157bce4a13
commit c3e7f600d5
1 changed files with 2 additions and 2 deletions

View File

@ -69,11 +69,11 @@ static int compare_complex(register CELL *pt0, register CELL *pt0_end, register
if (out) goto done;
}
else {
out = 1;
out = -1;
goto done;
}
} else if (IsVarTerm(d1)) {
out = -1;
out = 1;
goto done;
} else {
if (d0 == d1) continue;