I think you are right. In 6.02 the leading value was also omitted. It
appears that sparse rank, which uses a separate code path, does not
execute the verb on cells that have no non-sparse values.
It is unlikely that I will work on this any time soon. Please add the
error to the bug list.
Henry Rich
On 9/9/2021 3:40 AM, Igor Zhuravlov wrote:
sa=. 1 (< 1 1)} 1 $. 2 2 ; 0 01 ; 00
<@(4&$.)"1 sa
+-+
|1|
+-+
Shouldn't be the following result instead?:
+-+-+
| |1|
+-+-+
JVERSION
Engine: j903/j64avx2/linux
Beta-o: commercial/2021-08-24T19:02:02
Library: 9.03.06
Qt IDE: 1.9.2/5.9.5(5.12.7)
Platform: Linux 64
Installer: J903 install
InstallPath: /home/jip/j903
Contact: www.jsoftware.com
--
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