I don't know about the history but in 9.5.5 (under Windows 10): (0:`1: @. (2&|)) i.4 0 1 0 1
On Tue, Dec 26, 2023 at 7:44 AM Martin Kreuzer <i...@airkreuzer.com> wrote: > Dear all - > > This left me puzzled today; have I missed some developments ? > (all in Console on Windows10) > > - v8.07 - > > (0:`1: @. (2&|)) i.1 > |rank error > | (0:`1:@.(2&|))i.1 > > - v9.0.1 - > > (0:`1: @. (2&|)) i.1 > |rank error > | (0:`1:@.(2&|))i.1 > > - v9.0.2 - > > (0:`1: @. (2&|)) i.4 > 0 1 0 1 > (0:`1: @. (2&|)) i.5 > |rank error > | (0:`1:@.(2&|))i.5 > > - v9.5.1 - > > (0:`1: @. (2&|)) i.4 > 0 1 0 1 > (0:`1: @. (2&|)) i.5 > |rank error, executing monad (0:`1:)@.(2&|) > |each gerund must return a result whose shape agrees with its inputs > | (0:`1:@.(2&|))i.5 > > What did happen between v9.0.1 andv 9.0.2 ? > > -Martin > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA Quantitative Consultant ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm