fix bad handling of singletons with write_canonical.

This commit is contained in:
Vítor Santos Costa
2012-03-14 22:10:21 +00:00
parent b01261eed5
commit cc8521c9d5
4 changed files with 38 additions and 11 deletions

View File

@@ -3989,7 +3989,7 @@ YAP_ListLength(Term t) {
Int
YAP_NumberVars(Term t, Int nbv) {
return Yap_NumberVars(t, nbv);
return Yap_NumberVars(t, nbv, FALSE);
}
Term