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 7, 2023
1 parent 917bdc3 commit f91df46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ void
{{neuronName}}::register_stdp_connection( double t_first_read, double delay )
{
{%- if neuron_parent_class in ["ArchivingNode", "Archiving_Node"] %}
ArchivingNode::register_stdp_connection(t_first_read, delay);
{{ neuron_parent_class }}::register_stdp_connection(t_first_read, delay);
{%- endif %}

// Mark all entries in the deque, which we will not read in future as read by
Expand Down Expand Up @@ -1067,7 +1067,7 @@ void
{{neuronName}}::clear_history()
{
{%- if neuron_parent_class in ["ArchivingNode", "Archiving_Node"] %}
ArchivingNode::clear_history();
{{ neuron_parent_class }}::clear_history();
{%- endif %}

last_spike_nestml_ = -1.0;
Expand Down

0 comments on commit f91df46

Please sign in to comment.