Hi - I've managed to build an array that's crashing my code. I suspected it
contained NaNs but my attempt to check it crashes J:
$(128!:5) _1}."1 badarray NB. OK if exclude last column,
3 334
_1{"1 badarray NB. Nothing to see here?
_1j_1 _1j_1 _1j_1
$(128!:5) badarray NB. But this kicks me out of J after giving
the result.
3 335
I've put the array on the J wiki at
http://www.jsoftware.com/jwiki/DevonMcCormick/BadArray .
There's instructions on how to create it from the data file attached to the
page. Even though I show how to create the array from this file, I didn't
create it that way originally - there's no attempt to feed funny data to
(3!:2) - but it's too complicated to show how to create it from scratch.
I'd be interested in anything people can figure out about it.
Thanks,
Devon
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm