bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A curious bug...


From: Emmanuel Charpentier
Subject: A curious bug...
Date: Sun, 28 May 2023 13:43:21 +0200
User-agent: Evolution 3.46.4-2

I stumbled on a minor (?) problem

I )dumped the results of a previous work (content irrelevant. Restore it, and examine these results :

      )load Exp01dmp.apl
DUMPED 2023-05-27  22:12:26 (GMT+2)
      ⍴bar
500 3

A bit too large ; sample it :

      ⍴sample←2↑[1]bar
2 3

It's a vanilla numeric matrix :

      26⎕CR sample
16 32 32 16 32 32
      sample
142 1.375974377E¯13 0.264
 53 5.267033354E¯14 0.008

It seems that trying to format it fails! This :

      test←4 0 7 ¯3 7 ¯4⍕sample

never returns, and the apl process eats 100% of the time of one of my 8-core CPU. The only way to exit is to kill the emacs buffer where it runs : emacs asks for permission to kill the process (see below).

Setup : Laptop : core i7, 16 GB RAM, Debian testing, apl_1.8-1_amd64.deb downloaded from the Gnu mirror. APL runs from emacs via the inferior-mode created by gnu-apl (from the gnu-apl-mode package).

HTH,

--
Emmanuel Charpentier


reply via email to

[Prev in Thread] Current Thread [Next in Thread]