jsoftware/jsource

Amend gives length error for sparse array

Closed this issue · 1 comments

jip commented
   JVERSION
Engine: j9.6.0-beta5/j64avx2/linux
Build: commercial/2024-04-11T17:01:12/clang-11-0-0/SLEEF=1
Library: 9.6.5
Qt IDE: 2.5.3/5.12.8(5.15.8)
OS Ver: openSUSE Leap 15.5 5.14.21-150500.55.52-default
Platform: Linux 64
Installer: j9.6 install
InstallPath: /home/user/j9.6.0-beta5_j64avx2
Contact: www.jsoftware.com

   NB. boxed ISO
   (0$0) (< i. 0 2)} 1 1 $ 0             NB. ok for dense array
0
   (0$0) (< i. 0 2)} 1 $. 1 1 ; 0 1 ; 0  NB. error for sparse array
|length error
|   (0$0)    (<i.0 2)}1$.1 1;0 1;0

   NB. scatter amend
   (0$0) (0 2 $ 0)} 1 1 $ 0             NB. ok for dense array
0
   (0$0) (0 2 $ 0)} 1 $. 1 1 ; 0 1 ; 0  NB. error for sparse array
|length error
|   (0$0)    (0 2$0)}1$.1 1;0 1;0
   
jip commented

Seems to be fixed in j9.6.0-beta7.