Skip to content

Commit c31e73b

Browse files
committed
init
1 parent 86e7503 commit c31e73b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/model_creation/examples/hodgkin_huxley_equation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ I = I₀ * sin(2*pi*t/30)^2
7777
# get the gating variables to use in the equation for dV/dt
7878
@unpack m,n,h = hhrn
7979
80+
Dₜ = default_time_deriv()
8081
eqs = [Dₜ(V) ~ -1/C * (ḡK*n^4*(V-EK) + ḡNa*m^3*h*(V-ENa) + ḡL*(V-EL)) + I/C]
8182
@named voltageode = ODESystem(eqs, t)
8283
nothing # hide
@@ -88,6 +89,7 @@ Finally, we add this ODE into the reaction model as
8889

8990
```@example hh1
9091
@named hhmodel = extend(voltageode, hhrn)
92+
hhmodel = complete(hhmodel)
9193
nothing # hide
9294
```
9395

0 commit comments

Comments
 (0)