On 2008.10.18 14:14:20, you,
 the extraordinary Devon McCormick, emitted:

> Members of the Forum -
> 
> Can anyone re-produce this crash?
> 
> NB. Define a complex variable:
>    mms=. j./~i:2j99
> 
> NB. (128!:5) checks for NaN - works OK for first 1006 items:
>    (128!:5)1006{.,mms
> 
> NB. But crashes J when invoked on 1007 items:
>    (128!:5)1007{.,mms
> 
> The problem seems to be with the size of the argument, i.e.
> 
>    (128!:5) 1006{.1000}.,mms
> 
> works, but
> 
>    (128!:5) 1007{.1000}.,mms
> 
> causes the crash.
 
----------------------------
      ((9!:12);9!:14) ''
+-+---------------------+
|5|j602/2008-03-03/16:45| (The Unix is Mac OSX 10.4.11)
+-+---------------------+

It's not just '<: N  OK, > N crashes':

I get: 6000 crashes, 6001 OK, 6002 crashes.

Didn't go through all 10000 to catalogue OKs and crashes :-)

.....N
-- 
Nollaig MacKenzie
http://www.amhuinnsuidhe.net
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to