I agree,

      )sic
      a←2 3⍴.1×⍳6
      b←2 3⍴⍳6
      a + b
1.1 2.2 3.3
4.4 5.5 6.6
      a+[1]b
1.1 1.2 1.3
4.4 4.5 4.6
      ⍝ should give an error above, rank error.


      a+[2]b
LENGTH ERROR
      a+[2]b
      ^    ^
      ⍝ this is NOT ok

      ⎕io
1

my 2 cents,

Xtian.

On 2016-06-06 23:14, Xiao-Yong Jin wrote:
Hi,

I accidentally found this in gnu apl:

      (2 3⍴.1×⍳6)+[1]2 3⍴⍳6
1.1 1.2 1.3
4.4 4.5 4.6

I would expect a rank error.  Bug or feature?


Reply via email to