oops
This commit is contained in:
parent
f9c6be85c7
commit
800ddd23a6
@ -1146,7 +1146,7 @@ p_set_random_state ( USES_REGS1 )
|
|||||||
new = (char *) IntegerOfTerm (t0);
|
new = (char *) IntegerOfTerm (t0);
|
||||||
else
|
else
|
||||||
return FALSE;
|
return FALSE;
|
||||||
old = initstate(random(), new, 256);
|
old = setstate( new );
|
||||||
return Yap_unify(ARG2, MkIntegerTerm((Int)old));
|
return Yap_unify(ARG2, MkIntegerTerm((Int)old));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user