Skip to content

Commit

Permalink
Merge pull request #1626 from clinssen/patch-4
Browse files Browse the repository at this point in the history
Fix Izhikevich model initial conditions
  • Loading branch information
stinebuu authored Jul 1, 2020
2 parents 9501249 + aa9df2a commit b3571cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions models/izhikevich.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ nest::izhikevich::Parameters_::Parameters_()
}

nest::izhikevich::State_::State_()
: v_( -65.0 ) // membrane potential
, u_( 0.0 ) // membrane recovery variable
, I_( 0.0 ) // input current
: v_( -65.0 ) // membrane potential
, u_( 0.2 * -65.0 ) // membrane recovery variable (b * V_m_init)
, I_( 0.0 ) // input current
{
}

Expand Down

0 comments on commit b3571cf

Please sign in to comment.