Skip to content

Commit

Permalink
ensure compatibility with NESTML custom as well as NEST built-in syna…
Browse files Browse the repository at this point in the history
…ptic plasticity models
  • Loading branch information
C.A.P. Linssen committed Dec 5, 2023
1 parent b04ecf1 commit 917bdc3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,10 @@ S_.ode_state[State_::{{variable_name}}] = ode_state_bak[State_::{{variable_name}
void
{{neuronName}}::clear_history()
{
{%- if neuron_parent_class in ["ArchivingNode", "Archiving_Node"] %}
ArchivingNode::clear_history();
{%- endif %}

last_spike_nestml_ = -1.0;
history_nestml_.clear();
}
Expand Down

0 comments on commit 917bdc3

Please sign in to comment.