grade on mixed arrays

If we don't know about 'em, we can't fix 'em.

grade on mixed arrays

PostPosted by drab » Fri Apr 14, 2017 5:56 am

this works fine
v[⎕← ⍋ ⎕← v← 'c' 0.5 23 'a' 1 'b' ]
c 0.5 23 a 1 b
2 5 3 4 6 1
0.5 1 23 abc

but this is wrong
v[⎕← ⍋ ⎕← v← 'z' 0.5 23 'a' 1 'b' 4J5 ]
z 0.5 23 a 1 b 4J5
2 5 7 3 4 6 1
0.5 1 4J5 23 abz

It should be a domain error if a mixed argument has any complex elements.
drab
 
Posts: 295
Joined: Thu Oct 09, 2014 6:23 am

Re: grade on mixed arrays

PostPosted by forummaster » Mon Apr 17, 2017 7:14 pm

Thanks for the bug report. This is now fixed in the latest Alpha version:

http://www.nars2000.org/download/binaries/alpha/
forummaster
 
Posts: 554
Joined: Wed Jan 23, 2013 1:00 pm


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 3 guests

cron