Skip to content

Commit

Permalink
Update MOD files to avoid conflicting variable and function name (#1)
Browse files Browse the repository at this point in the history
* This will be an error in the upcoming NEURON 9.0 release
* For details, see neuronsimulator/nrn#1992
  • Loading branch information
pramodk authored Nov 4, 2022
1 parent d0090ab commit 46908b9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GRC_GABA.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ NEURON {

RANGE tau_1,tau_rec,tau_facil,U,T
RANGE diff_flag,M,Rd,Diff,lamd
RANGE diffusione,nd
RANGE nd
}

UNITS {
Expand Down
2 changes: 1 addition & 1 deletion GRC_NA.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ NEURON {
SUFFIX GRC_NA
USEION na READ ena WRITE ina
RANGE gnabar, ina, g
RANGE alfa, beta, gamma, delta, epsilon, teta, Con, Coff, Oon, Ooff
RANGE gamma, delta, epsilon, Con, Coff, Oon, Ooff
RANGE Aalfa, Valfa, Abeta, Vbeta, Ateta, Vteta, Agamma, Adelta, Aepsilon, ACon, ACoff, AOon, AOoff
RANGE n1,n2,n3,n4
}
Expand Down
8 changes: 8 additions & 0 deletions readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,11 @@
Variable time step(pref DASPK method) works without issues while on
Current clamp protocol. While during synaptic activation, it is
recommended to turn it off.


Changelog
=========

* 20220924: Update MOD files to avoid declaring variables and functions with the same name.
See https://github.com/neuronsimulator/nrn/pull/1992

0 comments on commit 46908b9

Please sign in to comment.