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

Reply via email to