Open joebo opened 2 years ago
This playground link does not work for me. I get: |value error: ECHOFILENAME
This suggests that this was run in a pre-conditioned environment, presumably one representing the contents of https://github.com/jsoftware/jsource/blob/master/test/tsu.ijs
That said, when I insert those lines at the top of the edit window and run all lines, this is not failing for me in Microsoft Edge, nor in Vivaldi.
Ya, I realize that is suboptimal the way I linked the files, but I figured it was better than nothing and less work than creating a new gist for each... Just igmore the ECHO FILENAME error and look for where there is 0 on a test case or assertion failure an/or find the line from the report above. Thanks for the feedback and trying it out
I was getting other value errors when I did it that way.
I've also updated my previous comment -- this looks like a consequence of browser specific failures.
Hmm, I'm seeing failures in edge on windows.. The direct playground link fails on other cases too due to missing 'etx' definition. I haven't been able to track that down on cursory search
This is from edge, which is the same result i get on chrome
I found the definition for etx in tsu.ijs like you mentioned
etx =: 1 : 'u :: (<:@(13!:11)@i.@0: >@{ 9!:8@i.@0:)' NB. error message from error number
Adding that to the top of the playground link still shows errors / failing tests (highlighted below)
I haven't dug into the cause yet
Ah.. I was searching for assertion failure -- though thinking back on this, I don't know why I would have been doing that.
My apologies.
Retested and still failing after the gemm changes in 517e00a2f9c77a2cbe65bd89d624331fb90fe563
1:@:(dbr bind Debug)@:(9!:19)2^_44[(prolog [ echo^:ECHOFILENAME) './gpoly.ijs'
etx =: 1 : 'u :: (<:@(13!:11)@i.@0: >@{ 9!:8@i.@0:)' NB. error message from error number
f =: 4 : 0
res =. (x ^@p. etx y) (-: +. -:&(0 ([`([: I. 1e_50 > |@])`])} ])`1:@.(2 e. ,&(3!:0)) ) x ^@:p. etx y NB. either tolerant = or both less than a tiny value
if. -. res do. xx =: x [ yy =: y end.
res
)
y =: (10 ?@$ 2);(_500 + 10 ?@$ 1000);(_5 10 p. 10 ?@$ 0);(j./ _5 10 p. 2 10 ?@$ 0);(x: _500 + 10 ?@$ 1000);(_2 x: x: (+ 0&=) _500 + 10 2 ?@$ 1000);_ __ 0 0 __ _ _ _ __ __
(<2.5 3.2 _1.4 _) f&>/ y
Here is a small reproducible example
Playground link