|
From: | Dr . Jürgen Sauermann |
Subject: | Re: Potential problem in diadic iota (⍳) or in Pick (⊃) |
Date: | Sat, 8 Aug 2020 19:27:04 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
Indeed, as Christian wrote, the fix is not sufficient. But I still believe it's in the branch I previously mentioned as commenting out the whole optimization by flipping #if 1 to 0 at PrimitiveFunction.cc:319 fixes it as far as I can see (at cost of performance of course).
Other examples in the same vein still failing at r1334:
A←64?64 ⋄ B←⍳6 ⋄ B≡A[A⍳B] ⍝ this should be 1
0
A←3×⍳64 ⋄ B←⍳6 ⋄ B≡A[A⍳B] ⍝ this should be INDEX ERROR
0
A←⎕IO+64|3×⍳64 ⋄ B←⍳6 ⋄ B≡A[A⍳B] ⍝ this should be 1
0
-k
[Prev in Thread] | Current Thread | [Next in Thread] |