Commit 04737870 authored by SOLIMAN Sylvain's avatar SOLIMAN Sylvain
Browse files

another inf bites the dust

parent d277d83f
......@@ -1284,9 +1284,12 @@ hybrid_dynamic_simulation(InputFile,OutFilename,Volume,Time,PropTresh,PartTresh)
prepare_change_list(Reactions,SortedSpecies,List),
%format("List is ~w ~n",[List]),
assertz(minimum_reactant_change(inf)),
% Because inf/0 is not defined in old versions of SWI-Prolog, we use
% something else
current_prolog_flag(max_tagged_integer, Inf),
assertz(minimum_reactant_change(Inf)),
assertz(maximum_reactant_change(0)),
assertz(minimum_product_change(inf)),
assertz(minimum_product_change(Inf)),
assertz(maximum_product_change(0)),
findall([Species_change, Alpha],
(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment