Fixed for the J6.01 beta.  Thanks for finding and
reporting this error.


----- Original Message -----
From: Henry Rich <[EMAIL PROTECTED]>
Date: Thursday, August 31, 2006 3:14 pm
Subject: [Jprogramming] Error in (,:0 1) E. i. 4 4, I think

> It appears to me that E. on multidimensional arrays fails
> when x has a different numeric type from y:
> 
>   (,: 0 1) E. i. 4 4   NB. Error, Boolean x, integer y
> 0 0 0 0
> 0 0 0 0
> 0 0 0 0
> 0 0 0 0
>   (,: 0 1 2) E. i. 4 4  NB. OK, Integer x, integer y
> 1 0 0 0
> 0 0 0 0
> 0 0 0 0
> 0 0 0 0
>   (,: <. 0.1 + 0 1) E. i. 4 4  NB. OK, Integer x, integer y
> 1 0 0 0
> 0 0 0 0
> 0 0 0 0
> 0 0 0 0 
> 
> 
> Looks like it's OK on lists.


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to