jsoftware / jsource

J engine source mirror
Other
657 stars 90 forks source link

Key (/.) to sparse argument produces extraneous zero #127

Closed jip closed 2 years ago

jip commented 2 years ago
   JVERSION
Engine: j903/j64avx2/linux
Release-b: commercial/2022-01-28T04:13:29
Library: 9.03.08
Platform: Linux 64
Installer: J903 install
InstallPath: /home/user/j903
Contact: www.jsoftware.com
   $.^:_1 sa=. 1 ((<"1) _2 ]\ 0 2 1 1 1 2 2 1 2 2)} 1 $. 3 3 ; 0 01 ; 0
0 0 1
0 1 1
0 1 1
   #/.~ $.^:_1 sa
1 2
   #/.~ sa
1 2 0

Originally reported in [1].

References:

  1. [Jbeta] Key (/.) to sparse arguments produces extraneous zero, Igor Zhuravlov, Tue Jul 6 06:22:09 UTC 2021.
HenryHRich commented 2 years ago

Fixed