Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MOD files to avoid conflicting variable and function name #1

Merged
merged 1 commit into from
Nov 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@

Questions and comments should be sent to [email protected].

<b> Changelog </b>

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


</pre>

</body></html>
3 changes: 1 addition & 2 deletions sim/Gfluct.mod
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ NEURON {
POINT_PROCESS Gfluct
RANGE g_e, g_i, E_e, E_i, g_e0, g_i0, g_e1, g_i1
RANGE std_e, std_i, tau_e, tau_i, D_e, D_i
RANGE new_seed
NONSPECIFIC_CURRENT i

THREADSAFE : only true if every instance has its own distinct Random
Expand Down Expand Up @@ -189,7 +188,7 @@ PROCEDURE new_seed(seed) { : procedure to set the seed

VERBATIM
double nrn_random_pick(void* r);
void* nrn_random_arg(int argpos);
Rand* nrn_random_arg(int argpos);
ENDVERBATIM

FUNCTION normrand123() {
Expand Down
2 changes: 1 addition & 1 deletion sim/orn.mod
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ NET_RECEIVE(dummy) {

VERBATIM
double nrn_random_pick(void* r);
void* nrn_random_arg(int argpos);
Rand* nrn_random_arg(int agpos);
ENDVERBATIM

FUNCTION normrand123() {
Expand Down