diff --git a/src/lib/clpb.pl b/src/lib/clpb.pl index 6b74e272..ad49f61c 100644 --- a/src/lib/clpb.pl +++ b/src/lib/clpb.pl @@ -1558,9 +1558,10 @@ sats([]) --> []. sats([A|As]) --> [clpb:sat(A)], sats(As). booleans([]) --> []. -booleans([B|Bs]) --> boolean(B), { del_clpb(B) }, booleans(Bs). +booleans([B|Bs]) --> boolean(B), booleans(Bs). boolean(Var) --> + { del_clpb(Var) }, ( { get_attr(Var, clpb_omit_boolean, true) } -> [] ; [clpb:sat(Var =:= Var)] ).