Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 8113d68

Browse files
committed
Fix small typo
1 parent 29efa5d commit 8113d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coreneuron/mechanism/eion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ void ion_reg(const char* name, double valence) {
138138
global_conci(mechtype) = DEF_ioni;
139139
}
140140
if (nrn_ion_init[static_cast<std::string>(buf[1])]) {
141-
global_conco(mechtype) = nrn_ion_init[static_cast<std::string>(buf[0])];
141+
global_conco(mechtype) = nrn_ion_init[static_cast<std::string>(buf[1])];
142142
} else {
143143
global_conco(mechtype) = DEF_iono;
144144
}

0 commit comments

Comments
 (0)