fix fast_proofs in ProbLog (obs from A Kimmig, F Riguzzi).
This commit is contained in:
parent
ab8fee4e08
commit
504306d651
@ -480,7 +480,7 @@ set_problog_flag(fast_proofs,true) :-
|
||||
assert(fast_proofs(true)).
|
||||
set_problog_flag(fast_proofs,false) :-
|
||||
retractall(fast_proofs(_)),
|
||||
assert(fast_proofs(true)).
|
||||
assert(fast_proofs(false)).
|
||||
set_problog_flag(fast_proofs,V) :-
|
||||
format(user,'\% ERROR: value ~w should be \'true\' or \'false\'!~n',[V]),
|
||||
flush_output(user),
|
||||
|
Reference in New Issue
Block a user