The following piece of code does not work on Ubuntu 20.04.

load 'primitives'

perm =: i.@! A. i.

PanDigS =: (perm 10) from (1 + i.10)

PanDigT =: 10 base"1 each 3 box\"1 PanDigS


The effect is variable: crash of the J interpreter, freeze of the Qt
interface or even of the whole system. It shows up both on J807 and J902.

The dataset is quite large:


7!:5 <'PanDigS'

5.36871e8


and the process crashes (or the system freezes) after several seconds.
Hence, I suspect an issue with memory management.

Any idea or suggestion on how to bypass the problem?

Thanks,


Francesco
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to