oops, forgot deref

This commit is contained in:
Vitor Santos Costa 2010-01-25 21:28:51 +00:00
parent 0d38d67dfa
commit 2702c7e973

View File

@ -1584,7 +1584,7 @@ int Yap_IsGroundTerm(Term t)
static Int
p_ground(void) /* ground(+T) */
{
return Yap_IsGroundTerm(ARG1);
return Yap_IsGroundTerm(Deref(ARG1));
}
static int