Re: [Bug-apl] Assertion failure after reduction of empty array

2014-05-20 Thread Juergen Sauermann
Hi Kacper, thanks, fixed in SVN 277. I also fixed the bug in Assert() and made ⎕ES 0 2561 simulate Assert(). /// Jürgen On 05/19/2014 08:52 PM, Kacper Gutowski wrote: Another one. Reduction of an empty array along the last non-singleton AND non-zero axis produces a weird value which crashes

[Bug-apl] Assertion failure after reduction of empty array

2014-05-19 Thread Kacper Gutowski
Another one. Reduction of an empty array along the last non-singleton AND non-zero axis produces a weird value which crashes GNU APL when copied (e.g. when assigned to variable; nothing happens when it's simply printed or directly examined with rank/depth/whatever): X ← +/[3] 0 0 2 0⍴ 0 ==