fix clpfd back to use exceptions.
This commit is contained in:
parent
233926ea00
commit
192aa92b9c
@ -5887,11 +5887,6 @@ make_clpfd_var('$clpfd_queue_status') :-
|
|||||||
user:exception(undefined_global_variable, Name, retry) :-
|
user:exception(undefined_global_variable, Name, retry) :-
|
||||||
make_clpfd_var(Name), !.
|
make_clpfd_var(Name), !.
|
||||||
|
|
||||||
warn_if_bounded_arithmetic :-
|
|
||||||
make_queue,
|
|
||||||
enable_queue,
|
|
||||||
nb_setval('$clpfd_current_propagator', []),
|
|
||||||
fail.
|
|
||||||
warn_if_bounded_arithmetic :-
|
warn_if_bounded_arithmetic :-
|
||||||
( current_prolog_flag(bounded, true) ->
|
( current_prolog_flag(bounded, true) ->
|
||||||
print_message(warning, clpfd(bounded))
|
print_message(warning, clpfd(bounded))
|
||||||
|
Reference in New Issue
Block a user