sampling an empty array crashes
Nodnarb12500 opened this issue · 3 comments
Nodnarb12500 commented
defvar emptyArray (make-array 0)
(sample emptyArray)
hangs and very quickly takes all your ram.
Bravotic commented
Hah, I never got around to fixing that I guess, I know at one point I was going to...
Nodnarb12500 commented
i relooked at my empty array test and found something else to be the cause
(defvar emptyArray (make-array 0)
(println (sample emptyArray))
i forgot a ')' on the defvar line
sample crashes with:
fish: Job 1, '~/Documents/GIT/crow/crow sampl…' terminated by signal SIGFPE (Floating point exception)
Bravotic commented
Yeah its still broken though... I have a fix coming later tonight.