Re: phix error
- Posted by irv in July
- 515 views
ex.err from running t37exw looks like this:
<unknown file>(39):-1 (era=#082F08B0, from_addr=#F7C5379A, ret_addr=#082F1200)
type check failure, subscript is 0
... called from /usr/local/bin/builtins/pApply.e:-1 (era=#082F11FF, from_addr=#F7C5E87C, ret_addr=#F7C5E8D2) 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
line 123 in pApply.e is:
s = apply_(s,fn,APPLY_FUNC,userdata)
and line 545 in t37misc is
if apply(x1,bankers_rounding)!={-4,-4,-2,-2,0,0,2,2,4,4} then ?9/0 end if

