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:
parent
157bce4a13
commit
c3e7f600d5
@ -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;
|
||||
|
Reference in New Issue
Block a user