Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amend gives length error for sparse array #194

Open
jip opened this issue Apr 22, 2024 · 1 comment
Open

Amend gives length error for sparse array #194

jip opened this issue Apr 22, 2024 · 1 comment

Comments

@jip
Copy link

jip commented Apr 22, 2024

   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 added a commit to jip/mt that referenced this issue Apr 24, 2024
Changes to be committed:
	modified:   mm.ijs
	              fix isoskw direct (non-inverse) invocation to return dense (not sparse) iso matrix
	              add work-around for jsoftware/jsource#194
	              improve qualifiers incompatibility detection
	              sync terminology with verify/5_mm.ijs
	modified:   verify/mm_data/105.ijs
	              fix out-of-bound index error
@jip
Copy link
Author

jip commented May 15, 2024

Seems to be fixed in j9.6.0-beta7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant