Skip to content

Commit

Permalink
Avoid declaring (ion) state variables as global, see neuronsimulator/…
Browse files Browse the repository at this point in the history
…nrn/pull/1723 (#1)

* Avoid declaring (ion) state variables as global, see neuronsimulator/nrn/pull/1723

* update readme
  • Loading branch information
pramodk authored May 27, 2022
1 parent 1f01d64 commit 0837cb6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LongDendrite/cadecay.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ NEURON{
SUFFIX cad
USEION ca READ ica, cai WRITE cai
RANGE ica, channel_flow, depth, B, tau
GLOBAL cai, cainf :tau, cainf
GLOBAL cainf :tau, cainf
}

UNITS {
Expand Down
6 changes: 6 additions & 0 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,10 @@
or "granule.tem") with load_file as suggested by Michael Hines for
re-running of simulations without an error message.
20130327 Added a top-level mosinit.hoc for an auto-launch demo (TMM).


Changelog
---------
2022-05: Updated MOD files to compile with the latest neuron releases where
ion variables used as STATE can not be declared as GLOBAL.
</pre></html>
2 changes: 1 addition & 1 deletion ShortDendrite/cadecay.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ NEURON{
SUFFIX cad
USEION ca READ ica, cai WRITE cai
RANGE ica, channel_flow, depth, B, tau
GLOBAL cai, cainf :tau, cainf
GLOBAL cainf :tau, cainf
}

UNITS {
Expand Down

0 comments on commit 0837cb6

Please sign in to comment.