We'll probably want a j9.4 update for this one, also, since it's a bug fix and j9.5 is maybe a year away.
(As a reminder for whoever it is that manages those releases...) -- Raul On Fri, Mar 3, 2023 at 3:16 PM Henry Rich <henryhr...@gmail.com> wrote: > > Fixed for next beta. (x # y) operates inplace when possible, and can > change the length of the y argument if that becomes the result area. > Here the y was a virtual block and the shape/rank/type needed to be > restored after the inplace operation. > > Workaround: use (]]#) instead of # > > Henry Rich > > On 3/3/2023 9:15 AM, Raul Miller wrote: > > a=: 3#.inv 49401 10852 55070 6484 14621 8515 > > {{ {. (#~ <&2) y }}"1 |: a > > 0 1 1 1 1 0 0 1 0 0 > > ([: {. (#~ <&2))"1 |: a > > 0 1 1 1 0 0 0 0 0 0 > > > > This bug was not present in j64-807 (though I have to use the older 3 > > :'' form there). It is present in j901. > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm