Commit e1234411 authored by SOLIMAN Sylvain's avatar SOLIMAN Sylvain

get rid of a warning due to bad scoping

parent 8c90f151
......@@ -189,7 +189,7 @@ export_valid_reactions(Stream, Reactions) :-
atomic_list_concat(Conditions, ' | ', AReactionIsEnabled),
format(Stream, ' !(~a): TRUE;\n', [AReactionIsEnabled]),
nth1(ReactionIndex, Reactions, (Reactants, _Products)),
nth1(ReactionIndex, Reactions, (Reactants, __Products)),
reactants_to_condition(Reactants, Condition),
format(Stream, ' R = ~d & !(~a): FALSE;\n', [ReactionIndex, Condition])
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment