Skip to content

Commit

Permalink
Add get_t() for a postsynaptic spike
Browse files Browse the repository at this point in the history
  • Loading branch information
pnbabu committed Apr 2, 2024
1 parent 4e02bf3 commit 7ddccd2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,7 @@ void
{%- endfor %}

const double t_sp_ms = t_sp.get_ms() - offset;
auto get_t = [t_sp_ms](){ return t_sp_ms; }; // do not remove, this is in case the predefined time variable ``t`` is used in the NESTML model

if ( n_incoming_ )
{
Expand Down

0 comments on commit 7ddccd2

Please sign in to comment.