diff --git a/src/lib/clpz.pl b/src/lib/clpz.pl index c4ba62fa..f438043d 100644 --- a/src/lib/clpz.pl +++ b/src/lib/clpz.pl @@ -3099,13 +3099,13 @@ expansion_simpler(Var is Expr0, Goal) :- ground(Expr0), !, phrase(expr_conds(Expr0, Expr), Gs), ( maplist(call, Gs) -> Value is Expr, Goal = (Var = Value) - ; Goal = (Var is Expr0) + ; Goal = false ). expansion_simpler(Var =:= Expr0, Goal) :- ground(Expr0), !, phrase(expr_conds(Expr0, Expr), Gs), ( maplist(call, Gs) -> Value is Expr, Goal = (Var =:= Value) - ; Goal = (Var =:= Expr0) + ; Goal = false ). expansion_simpler(between:between(L,U,V), Goal) :- maplist(integer, [L,U,V]),