Hi all,

In a fresh console, executing the following

n=. i.3
n=. >:n
i.5

produces 1 2 3 3 4, rather than the expected 0 1 2 3 4. This happens in the
j902 beta and j901, but not with j807.

It seems that the self-assignment to n is causing a modification to the
underlying buffer that i. uses to allocate arrays from.

Engine: j902/j64/darwin
Beta-a: commercial/2020-05-09T10:52:47 clang-11-0-0
Library: 9.02.03
Platform: Darwin 64
Installer: J902 install
InstallPath: /users/james/downloads/j902
Contact: www.jsoftware.com

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

Reply via email to