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
45 stars 8 forks source link

Copying a cell with synapses leads to unexpected behaviour #564

Closed sg-s closed 3 years ago

sg-s commented 3 years ago

possible fixes

  1. give up, note this in the documentation where no one will see it
  2. somehow prevent copy from copying synapses
  3. prevent compartments from adding cpplab objects that contain synapses