phix error
- Posted by irv in July
- 732 views
Downloaded latest version today, got this error in the tests:
<unknown file>(39):-1 (era=#082F08B0, from_addr=#F7BD779A, ret_addr=#082F1200)
type check failure, subscript is 141
... called from /usr/local/bin/builtins/pApply.e:-1 (era=#082F11FF, from_addr=#F7BE287C, r
et_addr=#F7BE28D2) in function apply_()
s = {-4.5,-3.5,-2.5,-1.5,-0.5,0.5,1.5,2.5,3.5,4.5}
fn = 321
pf = 2
userdata = {}
maxp = 2
minp = 1
res = {0,0,0,0,0,0,0,0,0,0}
l = <novalue>
n = <novalue>
args = <novalue>
multi = <novalue>
i = 1
ui = <novalue>
m = <novalue>
j = <novalue>
ui = <novalue>
lui = <novalue>
ls = 10
... called from /usr/local/bin/builtins/pApply.e:123 in function apply()
s = <novalue>
fn = 321
userdata = {}
... called from /usr/local/bin/test/t37misc.exw:545
Global & Local Variables
/usr/local/bin/builtins/VM/pprntfN.e:
init2 = 1
inf = inf
:
Line 545 is:
if apply(x1,bankers_rounding)!={-4,-4,-2,-2,0,0,2,2,4,4} then ?9/0 end if
irv@irv-desktop:/usr/local/bin$ ./p --version 1.0.5 irv@irv-desktop:/usr/local/bin$ uname -a Linux irv-desktop 5.15.0-41-generic #44-Ubuntu SMP Wed Jun 22 14:20:53 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

