xolotl icon indicating copy to clipboard operation
xolotl copied to clipboard

the new spikes_only options is unsafe

Open sg-s opened this issue 6 years ago • 3 comments

it's possible to reference a element in the array that is out of bounds, causing a hard MATLAB crash

sg-s avatar Nov 16 '18 22:11 sg-s

possible solution to return a vector:

https://stackoverflow.com/questions/9640738/mex-transferring-a-vector-from-c-to-matlab-from-mex-function

sg-s avatar Nov 16 '18 22:11 sg-s

maybe make a spiketimes object, that we can push individual spiketimes too, and then in the end, return a vector separated by -1?

sg-s avatar Nov 17 '18 20:11 sg-s

Stale issue message

github-actions[bot] avatar Aug 14 '19 15:08 github-actions[bot]