Skip to content

Commit

Permalink
Update models/iaf_psc_alpha_ps.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
heshpdx authored Sep 11, 2024
1 parent 186e72c commit 9701ed2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/iaf_psc_alpha_ps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ nest::iaf_psc_alpha_ps::pre_run_hook()
V_.inv_tau_syn_ex_ = 1.0 / P_.tau_syn_ex_;
V_.inv_tau_syn_in_ = 1.0 / P_.tau_syn_in_;

V_.psc_norm_ex_ = 1.0 * numerics::e * V_.inv_tau_syn_ex_;
V_.psc_norm_in_ = 1.0 * numerics::e * V_.inv_tau_syn_in_;
V_.psc_norm_ex_ = numerics::e * V_.inv_tau_syn_ex_;
V_.psc_norm_in_ = numerics::e * V_.inv_tau_syn_in_;

// pre-compute matrix for full time step
V_.expm1_tau_m_ = numerics::expm1( -V_.h_ms_ * V_.inv_tau_m_ );
Expand Down

0 comments on commit 9701ed2

Please sign in to comment.