I have fixed this for the next beta & I'm sure we'll put out a fix for
9.01 shortly.
Henry Rich
On 6/9/2020 6:17 PM, 'Michael Day' via General wrote:
and even:
n =. i.3
n =. 5 + n
i.5
5 6 7 3 4
or worse ?:
n =. i.10
100 + n
100 101 102 103 104 105 106 107 108 109
i.20
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
n =. 100 + n
i.20
100 101 102 103 104 105 106 107 108 109 10 11 12 13 14 15 16 17 18 19
Quite a big bug?
Mike
On 09/06/2020 23:05, Don Guinn wrote:
Can see a pattern as to what may be happening:
n=. i.3
n=. >:n
i.5
1 2 3 3 4
n=. i.3
n=. >:n
i.5
2 3 4 3 4
n=. i.3
n=. >:n
i.5
3 4 5 3 4
n=. i.3
n=. >:n
i.5
4 5 6 3 4
n=. i.3
n=. >:n
i.5
5 6 7 3 4
It fails in 901 in Windows as well.
On Tue, Jun 9, 2020 at 4:03 PM 'Michael Day' via General <
[email protected]> wrote:
Same in Windows (10) - unsurprisingly :
JVERSION
Engine: j902/j64avx2/windows
Beta-a: commercial/2020-05-14T11:31:37 clang-9-0-0
Library: 9.02.03
Qt IDE: 1.8.7/5.12.7(5.12.7)
Platform: Win 64
Installer: J902 install
InstallPath: c:/d/j902
Contact: www.jsoftware.com
Mike
On 09/06/2020 22:07, James Kozianski wrote:
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
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm