Skip to content
Snippets Groups Projects
Unverified Commit 76a49309 authored by Benjamin Cumming's avatar Benjamin Cumming Committed by GitHub
Browse files

fix bug setting external ion concentration in python (#1171)

parent 4339ffed
No related branches found
No related tags found
No related merge requests found
...@@ -377,7 +377,7 @@ void register_cells(pybind11::module& m) { ...@@ -377,7 +377,7 @@ void register_cells(pybind11::module& m) {
arb::initial_ion_data x; arb::initial_ion_data x;
x.ion = name; x.ion = name;
if (int_con) x.initial.init_int_concentration = *int_con; if (int_con) x.initial.init_int_concentration = *int_con;
if (ext_con) x.initial.init_int_concentration = *ext_con; if (ext_con) x.initial.init_ext_concentration = *ext_con;
if (rev_pot) x.initial.init_reversal_potential = *rev_pot; if (rev_pot) x.initial.init_reversal_potential = *rev_pot;
return x; return x;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment