JVERSION Engine: j9.5.1/j64avx2/darwin Build: commercial/2023-12-20T04:08:21/clang-14-0-0/SLEEF=1 Library: 9.5.5 Platform: Darwin 64 Installer: j9.5 install InstallPath: /usr/local/etc/j9.5 Contact: www.jsoftware.com
And sorting by itself along would crash JEngine p =. 8 2 $ 0 0 1 1 1 0 0 0 0 1 1 0 1 0 0 0 p /: p JE has crashed, likely due to an internal bug. Please report the code which caused the crash, as well as the following printout, to the J programming forum. .... LdBeth >>>>> In <9d48c6be-8497-4dfd-8b17-415a135c1...@students.mimuw.edu.pl> >>>>> Marcin Żołek <marcin.zo...@students.mimuw.edu.pl> wrote: > I figured out that the problem is with sorting: > p =. 8 2 $ 0 0 1 1 1 0 0 0 0 1 1 0 1 0 0 0 > p > 0 0 > 1 1 > 1 0 > 0 0 > 0 1 > 1 0 > 1 0 > 0 0 > /:~ p NB. returns various and wrong results > 0 0 > 0 0 > 0 0 > 1 0 > 1 0 > 1 0 > 1 1 > 1 1 > or > 0 0 > 0 0 > 0 0 > 1 0 > 1 0 > 1 0 > 0 0 > 0 0 > ~.@:/:~ p NB. crashes jqt ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm