bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Strange bug


From: Christian Robert
Subject: [Bug-apl] Strange bug
Date: Wed, 25 May 2016 22:22:06 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

     )clear
CLEAR WS
      )wsid test
WAS CLEAR WS
      a←20?100
      b←15?100
      )save
2016-05-25  22:16:27 (GMT-4) test
      a
77 7 19 54 24 32 84 40 5 95 97 76 82 92 63 26 10 98 21 50
      b
38 80 99 90 26 30 74 50 85 81 47 76 93 95 88
      cmp←{(∨/⍺∘.=⍵)/⍵}
      a cmp b
LENGTH ERROR
cmp[1]  λ←(∨/⍺∘.=⍵)/⍵
          ^         ^
      cmp←{(∨/[1]⍺∘.=⍵)/⍵}
      a cmp b
26 50 76 95
      b cmp a
95 76 26 50
      cmp←{{⍵[⍋⍵]} (∨/[1]⍺∘.=⍵)/⍵}
      )save
2016-05-25  22:18:42 (GMT-4) test
      a cmp b


====================================================
SEGMENTATION FAULT
Segmentation fault (core dumped)



It does not abort the same manner each time. Some time the trace is longer, 
sometimes it give a VALENCE error,
and I saw some time it even work.

Xtian.





reply via email to

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