Commit 9279f3a3 authored by SOLIMAN Sylvain's avatar SOLIMAN Sylvain
Browse files

add test and doc delete_(single_)ode

parent e197e8c7
......@@ -830,6 +830,10 @@ put_ode_into_system :-
).
%! delete_single_ode(+Name:name) is det
%
% deletes the ODE associated with variable Name
% necessitates a current ODE system
delete_single_ode(Name) :-
get_current_ode_system(Id),
delete_item([parent: Id, kind: ode, key: Name]).
......
......@@ -49,6 +49,8 @@ test(
new_ode_system,
add_ode(da/dt = -a),
add_ode(db/dt = a),
add_ode(dc/dt = 1),
delete_ode([c]),
import_reactions_from_ode_system,
all_items([kind: reaction], Reactions).
......
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