Skip to content

Commit

Permalink
Replace outdated mentions of deliver_spike() (#1071)
Browse files Browse the repository at this point in the history
* Fix the text in the stdp notebook

* Remove deliver_spike from spinnaker function printer
  • Loading branch information
pnbabu authored Jul 1, 2024
1 parent 7299913 commit dea633c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion doc/tutorials/stdp_windows/stdp_windows.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
" w = max(Wmin, w_)\n",
"\n",
" # deliver spike to postsynaptic partner\n",
" deliver_spike(w, d)\n",
" emit_spike(w, d)\n",
"```\n",
"\n",
"Finally, the remaining parameters are defined:\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ def print_function_call(self, node: ASTFunctionCall) -> str:
return 'neuron_recording_record_bit(SPIKE_RECORDING_BITFIELD, neuron_index);\n' \
'send_spike(timer_count, time, neuron_index)'

if function_name == PredefinedFunctions.DELIVER_SPIKE:
return "// Probably dont need to actively deliver spike"

return super().print_function_call(node)

def _print_function_call_format_string(self, function_call: ASTFunctionCall) -> str:
Expand Down

0 comments on commit dea633c

Please sign in to comment.