sg-s / xolotl

A MATLAB neuron simulator. Very fast (written in C++). Flexible (fully object oriented). Immediate (live manipulation in MATLAB). Comes with a powerful parameter optimizer. Get started ➡️
https://go.brandeis.edu/xolotl
GNU General Public License v3.0
43 stars 8 forks source link

rk4 solver returns NaNs sometimes #534

Closed sg-s closed 4 years ago

sg-s commented 4 years ago
x = xolotl.examples.networks.pyloric;
x.solver_order = 4;
[V,~,~,I] = x.integrate;
plot(I(:,2))
sg-s commented 4 years ago

problem only affects Calcium channels -- because E is NaN for whatever reason.