-
Notifications
You must be signed in to change notification settings - Fork 231
Open
Description
The scipy package was just updated to version 0.15.1 using Anaconda on a Linux server (CentOS 6.5) and a Linux workstation (Fedora 21). Seven tests failed (Python 3.4.2 x86_64). The same 7 tests failed for scipy version 0.14.0 and 0.15.0 with Python 3.4.2. The installation used is on both system is Miniconda.
For the same installation but using Python 2.7.9 instead, there were no failed test. No failed test for Python 3.4.2 on Windows either.
There are no failures when package is compile from source (i.e. installed using pip) on the same Fedora 21 workstation on Python 3.4.2 (compiled from source).
Here are the failures:
======================================================================
FAIL: test_lambertw (test_minpack.TestFixedPoint)
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../miniconda3/envs/python3_env/======================================================================
FAIL: test_lambertw (test_minpack.TestFixedPoint)
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 602, in chk_same_position
assert_array_equal(x_id, y_id)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 739, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 665, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
(mismatch 100.0%)
x: array(False, dtype=bool)
y: array(True, dtype=bool)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/scipy/optimize/tests/test_minpack.py", line 474, in test_lambertw
assert_allclose(xxroot, lambertw(1)/2)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 1297, in assert_allclose
verbose=verbose, header=header)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 628, in assert_array_compare
chk_same_position(x_isnan, y_isnan, hasval='nan')
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 608, in chk_same_position
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-07, atol=0
x and y nan location mismatch:
x: array(0.2835716452048919)
y: array((nan+nanj))
======================================================================
FAIL: test_basic.test_sph_harm((0.18816934037548771+1.3084077606337337e-310j), (1.1521668490919398e-17+0.18816934037548777j))
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 842, in assert_array_almost_equal
precision=decimal)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 665, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 6 decimals
(mismatch 100.0%)
x: array((0.18816934037548771+1.30840776063373e-310j))
y: array((1.1521668490919398e-17+0.18816934037548777j))
======================================================================
FAIL: test_basic.test_sph_harm((0.027658293277811392+1.9231786378355521e-311j), (1.6935260841945294e-18+0.027658293277811399j))
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 842, in assert_array_almost_equal
precision=decimal)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 665, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 6 decimals
(mismatch 100.0%)
x: array((0.027658293277811392+1.9231786378356e-311j))
y: array((1.6935260841945294e-18+0.0276582932778114j))
======================================================================
FAIL: test_basic.test_xlogy
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/scipy/special/tests/test_basic.py", line 2992, in test_xlogy
assert_func_equal(special.xlogy, w2, z2, rtol=1e-13, atol=1e-13)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/scipy/special/_testutils.py", line 87, in assert_func_equal
fdata.check()
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/scipy/special/_testutils.py", line 292, in check
assert_(False, "\n".join(msg))
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 53, in assert_
raise AssertionError(smsg)
AssertionError:
Max |adiff|: 0
Max |rdiff|: 0
Bad results (2 out of 6) for the following points (in output 0):
(1+0j) (2+0j) => (-inf+nanj) != (0.6931471805599453+0j) (rdiff 0.0)
(1+0j) 1j => (-inf+nanj) != 1.5707963267948966j (rdiff 0.0)
======================================================================
FAIL: test_data.test_boost(<Data for sph_harm_: spherical_harmonic_ipp-spherical_harmonic>,)
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/scipy/special/tests/test_data.py", line 481, in _test_factory
test.check(dtype=dtype)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/scipy/special/_testutils.py", line 292, in check
assert_(False, "\n".join(msg))
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 53, in assert_
raise AssertionError(smsg)
AssertionError:
Max |adiff|: 0.97006
Max |rdiff|: 108.053
Bad results (126 out of 131) for the following points (in output 0):
2.0 2.0 3.7438814640045166 1.9570953845977783 => 0.33144250349035825 2.30463657303855e-310 != 0.1186854013329545 0.3094639052141487 (rdiff 1.792613916858611)
3.0 3.0 3.6941986083984375 1.8386235237121582 => -0.3741714859732107 -2.6017462518567e-310 != -0.0325198975911336 0.3727556266189188 (rdiff 10.505924485913106)
1.0 5.0 1.166459321975708 0.3870134949684143 => -0.5364203760014501 -3.7299199832166e-310 != -0.2110327717936891 -0.49316527556044504 (rdiff 1.541881867172119)
2.0 5.0 2.9254350662231445 0.6248452663421631 => 0.4578598414491021 3.1836608908547e-310 != 0.41573590536157273 -0.19183141402020165 (rdiff 0.10132378643334505)
3.0 5.0 0.34395989775657654 0.8522719144821167 => -0.42795034896386785 -2.97568964535483e-310 != -0.21962689104593006 -0.3672948814070177 (rdiff 0.9485334738648721)
3.0 5.0 3.1183650493621826 2.715601682662964 => -0.15776437457205714 -1.09699131442837e-310 != 0.1573815017420447 -0.010984570703089043 (rdiff 2.002432768945362)
2.0 6.0 4.094336986541748 0.04008698835968971 => 0.008329334597416582 5.791679986765e-312 != -0.002736008135850404 0.007867151601201161 (rdiff 4.044338387841695)
2.0 6.0 1.6007587909698486 1.0015974044799805 => -0.3337272069361331 -2.3205229215431e-310 != 0.3331281795213689 0.019986611973298388 (rdiff 2.001798188960252)
4.0 6.0 0.5854918956756592 0.48182523250579834 => 0.12565790470569885 8.737437106782e-311 != -0.08758049579574413 0.09010863316685128 (rdiff 2.4347704196463917)
4.0 8.0 5.641359329223633 0.4124985337257385 => 0.218146974543117 1.5168528192233e-310 != -0.18315159629088795 -0.11850567614428817 (rdiff 2.1910732909837605)
4.0 8.0 1.5511372089385986 3.0749006271362305 => 0.0002638328474166781 1.83452279934e-313 != 0.0002630175368006181 -2.0725508710879576e-05 (rdiff 0.003099833668802225)
5.0 8.0 4.651904106140137 0.13535942137241364 => -0.0004228333324149478 -2.94010922535e-313 != 0.0001259347457772988 0.00040364398522353527 (rdiff 4.357558946938124)
6.0 8.0 0.5504761934280396 1.8135552406311035 => -0.04195558833796819 -2.917319966775e-311 != 0.0414112160547798 0.006736659235066684 (rdiff 2.0131455275901167)
9.0 10.0 1.9321719408035278 0.02481086179614067 => -8.6349727524546e-15 -5e-324 != -9.546944808721606e-16 8.582034309169971e-15 (rdiff 8.04474983930579)
3.0 11.0 0.005926645360887051 3.102689743041992 => -0.0024107003434774583 -1.676244935306e-312 != -0.002410319310833805 -4.2859839752331065e-05 (rdiff 0.00015808388620568834)
8.0 11.0 2.385113000869751 3.0671277046203613 => -1.7352226746814403e-08 -1.2065617e-317 != -1.6889931796373325e-08 -3.978690360755082e-09 (rdiff 0.027371037137067858)
2.0 12.0 4.164240837097168 1.472840428352356 => -0.11343040993453578 -7.8872162887064e-311 != 0.051825648699074335 -0.10089876131468112 (rdiff 3.1886925254552922)
4.0 12.0 5.138848781585693 0.33773159980773926 => 0.4312404238300418 2.9985666957777e-310 != -0.058059105198654905 0.427314220976374 (rdiff 8.427610576403314)
4.0 12.0 1.97115957736969 1.4737725257873535 => 0.133840154404005 9.3063777738924e-311 != -0.0041024515101737245 0.1337772657161694 (rdiff 33.624432993807)
12.0 12.0 0.1887936294078827 1.6081607341766357 => 0.5615419944572694 3.9045994526797e-310 != -0.359485657701196 0.43139248190735413 (rdiff 2.562070648515336)
3.0 13.0 6.070216655731201 0.839149534702301 => -0.3726545778153931 -2.59119865466674e-310 != -0.29914795433974745 0.22222046661168113 (rdiff 0.24571996033829768)
4.0 13.0 5.675355911254883 1.46112060546875 => 0.32268696930308416 2.2437562571708e-310 != -0.2446556284178114 -0.21040556941653282 (rdiff 2.3189435754652434)
9.0 13.0 0.6015634536743164 0.8038066029548645 => -0.446033762793471 -3.1014299968131e-310 != -0.2879162739705174 0.3406616161745208 (rdiff 0.5491787131113848)
11.0 13.0 6.052441120147705 0.3740127980709076 => -0.00013312473915586117 -9.2566324297e-314 != 0.0001096158847926153 7.554173665231829e-05 (rdiff 2.2144657629477953)
1.0 14.0 6.065327167510986 0.403349369764328 => 0.4684685061165817 3.2574266762513e-310 != 0.45739514169698087 -0.10125426200955845 (rdiff 0.024209624043048553)
2.0 14.0 1.1857155561447144 2.000699758529663 => 0.33368925549147854 2.32025903176913e-310 != -0.23952154883733628 0.23233154515265614 (rdiff 2.3931492056194634)
5.0 14.0 1.6902021169662476 2.462371826171875 => -0.2945990359426705 -2.04845095443567e-310 != 0.16562000518224773 -0.2436362162359751 (rdiff 2.7787648033128285)
9.0 14.0 3.4293742179870605 2.8933916091918945 => 0.0003239965793031132 2.2528624372e-313 != 0.00027595075078722537 -0.00016977916992400195 (rdiff 0.17411015689873605)
12.0 14.0 1.647701621055603 0.3878519833087921 => 8.01727748716284e-05 5.574695677e-314 != 4.838743212618287e-05 6.392441038328694e-05 (rdiff 0.6568925307413906)
14.0 14.0 1.124784231185913 2.603245973587036 => 5.094796853098425e-05 3.5425918634e-314 != -5.0909195784017636e-05 -1.987280065499203e-06 (rdiff 2.00076160596076)
1.0 15.0 1.4293510913848877 2.1590051651000977 => -0.3312378977712346 -2.30321387734206e-310 != -0.046695952478768205 -0.3279299207788267 (rdiff 6.0935034020741385)
10.0 15.0 3.1241142749786377 0.3937534987926483 => 0.006504641281006766 4.522906396383e-312 != 0.006405537610345807 -0.0011311260394061828 (rdiff 0.015471561746962965)
5.0 16.0 0.1270323544740677 2.2032878398895264 => 0.15935243440326305 1.1080336542871e-310 != 0.12827484160659902 0.09454503350810217 (rdiff 0.242273484086417)
10.0 16.0 3.2160444259643555 2.9961600303649902 => 1.2330880352103587e-06 8.5740958e-316 != 9.068311742569786e-07 8.355616817295483e-07 (rdiff 0.3597768473505578)
1.0 17.0 6.191986560821533 1.0335735082626343 => 0.34347575160430904 2.3883079893591e-310 != 0.3420483611338878 -0.03128115384327176 (rdiff 0.004173066246215715)
9.0 17.0 1.8822007179260254 2.629911422729492 => -0.2935926929612901 -2.0414534969114e-310 != 0.09761956195992832 0.27688822741859914 (rdiff 4.007519057315648)
10.0 17.0 5.651280403137207 1.8151215314865112 => -0.12461313447405775 -8.6647905493583e-311 != -0.12453300389782715 0.004468134245227024 (rdiff 0.0006434485134265738)
12.0 17.0 2.0395255088806152 2.035057783126831 => 0.2236953561631914 1.5554326726463e-310 != 0.176932002302812 -0.1368746833059166 (rdiff 0.2643012753585741)
14.0 17.0 3.4908628463745117 1.7063461542129517 => 0.41057163406712766 2.8548493140103e-310 != 0.07245143914243878 -0.40412851380067316 (rdiff 4.666852707507274)
16.0 17.0 5.198953628540039 2.3042104244232178 => -0.020662726239223585 -1.4367521994954e-311 != -0.0014235099754120138 -0.020613633231116753 (rdiff 13.515336454346281)
1.0 18.0 6.065383434295654 1.7507085800170898 => -0.05846421624522959 -4.0652230644494e-311 != -0.0570829867271008 0.012633178835218266 (rdiff 0.024196868407255923)
3.0 18.0 4.349996566772461 2.466355562210083 => 0.21845557788147296 1.51899864702947e-310 != 0.19340263325020318 0.10157884110096903 (rdiff 0.12953776383622978)
7.0 18.0 2.0436699390411377 1.081864833831787 => 0.3188363803093444 2.2169817544162e-310 != -0.053477180599598904 0.31431962802835367 (rdiff 6.962101530680467)
18.0 18.0 1.4317092895507812 0.2519867718219757 => 8.645228901272869e-12 6.013e-321 != 6.9444795446057865e-12 5.149192811495066e-12 (rdiff 0.24490666949809956)
4.0 19.0 4.676140308380127 2.359915256500244 => 0.25890784123407495 1.80027749510365e-310 != 0.25619103669659704 -0.03740886216943547 (rdiff 0.010604604175498071)
15.0 20.0 3.125328302383423 1.7516779899597168 => 0.22928550913428153 1.59430297699885e-310 != -0.22249585765031965 0.05538445655069125 (rdiff 2.030515855691267)
18.0 20.0 3.5437357425689697 0.42806243896484375 => 1.918872200159858e-06 1.33425949e-315 != 1.1077459457291212e-06 1.5668342095662384e-06 (rdiff 0.7322313004692166)
1.0 21.0 1.1432034969329834 2.091248035430908 => -0.06260952995753177 -4.3534613406963e-311 != -0.0259630176514169 -0.056972580737889016 (rdiff 1.4114889416221206)
9.0 21.0 3.7809624671936035 2.998842477798462 => -0.00014601085112594486 -1.0152649223e-313 != 0.0001260634821990499 -7.366930909390001e-05 (rdiff 2.1582327298828594)
3.0 22.0 0.6571124196052551 1.3689675331115723 => -0.3158775166053893 -2.19640773196897e-310 != 0.12316586097730232 -0.2908758776291148 (rdiff 3.564651552783778)
6.0 22.0 3.0635886192321777 2.452491283416748 => 0.41865248077513556 2.9110382899813e-310 != 0.37363116123718615 -0.18886411785123972 (rdiff 0.12049669355433998)
10.0 22.0 1.582857370376587 0.8644598126411438 => 0.10535384374474936 7.325624168519e-311 != -0.10458848750001873 -0.012675988097635035 (rdiff 2.007317786718452)
10.0 22.0 4.376813888549805 1.6321626901626587 => 0.110209726510066 7.6632708160516e-311 != 0.1076920547546031 -0.023422321835273454 (rdiff 0.023378435495542315)
18.0 22.0 1.023486852645874 1.2528938055038452 => -0.22801439903616455 -1.5854645003713e-310 != -0.20756108656065894 0.0943872952975236 (rdiff 0.09854117076771134)
19.0 22.0 5.047366142272949 2.022489070892334 => 0.5329762846792203 3.7059720020781e-310 != -0.04332615913967939 0.5312123529857604 (rdiff 13.301489337214402)
14.0 23.0 5.628893852233887 2.7440736293792725 => -0.005459581783877114 -3.796239685654e-312 != 0.005269433615063089 0.0014283216133931613 (rdiff 2.0360851246461236)
1.0 25.0 5.681798458099365 0.7773735523223877 => -0.07666953939360759 -5.331103363744e-311 != -0.06321800269170814 0.04337859387415682 (rdiff 0.21278015959311197)
7.0 25.0 0.32801327109336853 2.6453042030334473 => 0.46200489550784374 3.21248291301663e-310 != -0.30647436470681927 0.3457195210727418 (rdiff 2.5074830025336987)
10.0 25.0 1.7879446744918823 3.0952658653259277 => -2.129594021771624e-09 -1.480784e-318 != -1.2036667074182604e-09 1.7568031065028704e-09 (rdiff 0.7692555660523179)
19.0 25.0 5.628895282745361 0.06821203231811523 => -1.298017317729461e-19 0.0 != -1.286231507340439e-19 -1.7452067685713627e-20 (rdiff 0.009163055267859004)
21.0 25.0 1.6470742225646973 0.65260249376297 => -0.0029496552516189998 -2.05099928318e-312 != 0.002948234443626144 9.154107722760616e-05 (rdiff 2.0004819182531186)
24.0 25.0 3.483907461166382 2.6782121658325195 => -1.7266314422848904e-08 -1.200588e-317 != 6.107901093133269e-09 -1.614989653171765e-08 (rdiff 3.8268817977848957)
8.0 26.0 1.7683135271072388 2.162156343460083 => 0.2344754259001149 1.6303902979176e-310 != -0.0021902677451976515 0.23446519587828904 (rdiff 108.0533163875614)
8.0 26.0 4.156087398529053 2.944816827774048 => 0.04497482119223068 3.127257871093e-311 != -0.011648026682090862 0.043440281026788895 (rdiff 4.8611536889231735)
23.0 26.0 2.850924015045166 2.308638095855713 => 0.026296952565257242 1.828519818766e-311 != -0.024198577688656308 0.010293617054536935 (rdiff 2.0867148021507314)
5.0 27.0 5.2587056159973145 0.650668203830719 => 0.38102601242562 2.64940819076534e-310 != 0.1518838339440685 0.3494454508666825 (rdiff 1.5086673316788508)
14.0 27.0 4.7487263679504395 1.0453426837921143 => -0.13107002129601 -9.1137606531057e-311 != 0.11447223007891548 0.06383932192071198 (rdiff 2.1449940409621813)
2.0 28.0 1.829897165298462 2.1776881217956543 => 0.009863751175472021 6.85861392759e-312 != -0.008568752372095924 -0.0048857005677113196 (rdiff 2.151130380146502)
25.0 28.0 2.0941126346588135 1.380505919456482 => 0.260115582199531 1.80867534381174e-310 != -0.12846379713076891 0.226179505989702 (rdiff 3.0248162362408455)
5.0 30.0 3.2435364723205566 1.3224494457244873 => -0.3020511789755005 -2.1002683321109e-310 != 0.2636549179860568 0.1473804564460816 (rdiff 2.145630740677002)
5.0 30.0 4.1063690185546875 1.5393459796905518 => -0.26006039785881857 -1.8082916276362e-310 != 0.02893483993329997 -0.25844571107395325 (rdiff 9.98779459151337)
12.0 30.0 2.331510543823242 2.9382705688476562 => 0.001282401883828387 8.9169923944e-313 != -0.0012265538183565026 0.0003743264916107619 (rdiff 2.04553250304721)
20.0 30.0 4.2898664474487305 2.3134193420410156 => 0.5219355011323272 3.6292015417744e-310 != -0.29318407317941253 -0.43180987318052627 (rdiff 2.7802314275541544)
23.0 30.0 4.037663459777832 0.7261975407600403 => -0.06779391933698252 -4.713950211222e-311 != -0.012755301400432633 0.06658316442805515 (rdiff 4.314960204286751)
28.0 30.0 2.5537784099578857 0.22341783344745636 => 1.3087867815105707e-17 0.0 != -9.568789715259135e-18 8.929196342943402e-18 (rdiff 2.367766269775453)
1.0 31.0 4.177355766296387 0.9285646080970764 => 0.07032478723281599 4.889930378305e-311 != -0.03585647199343661 -0.06049701741015584 (rdiff 2.961285740707805)
11.0 31.0 0.3647511601448059 3.0240728855133057 => -2.9500943723850974e-05 -2.0513046195e-314 != 1.9007877531794893e-05 2.256116735308832e-05 (rdiff 2.5520377630013713)
16.0 31.0 3.2588040828704834 0.07541969418525696 => 7.378941434044751e-13 5.14e-322 != -2.2129354866106521e-13 7.039296358241013e-13 (rdiff 4.334458450637615)
30.0 31.0 0.06578446179628372 0.7328606843948364 => 2.410777563312001e-05 1.676298629e-314 != -9.448760825643987e-06 2.217894868646006e-05 (rdiff 3.551421935423678)
25.0 33.0 1.636008858680725 1.7851890325546265 => -0.01030408343739056 -7.164792472716e-312 != 0.01028583890235231 0.0006129058325419285 (rdiff 2.001773752749917)
29.0 33.0 1.8222459554672241 1.9157567024230957 => -0.34292596923091234 -2.38448515869733e-310 != 0.29019140898839474 -0.1827215546187445 (rdiff 2.1817233681257138)
31.0 33.0 3.9526233673095703 2.0581443309783936 => -0.14703685515949136 -1.0223990900883e-310 != 0.14703061785490068 0.0013543221180469735 (rdiff 2.0000424218076596)
7.0 34.0 3.556227922439575 3.0894107818603516 => 0.00019187093276435357 1.3341462374e-313 != 0.00018641041510024638 -4.5449004191754784e-05 (rdiff 0.029292985915892453)
27.0 34.0 0.37764084339141846 0.5653666257858276 => -0.00020202362941014863 -1.40474151643e-313 != 0.00014482030760668206 0.00014085675470049277 (rdiff 2.3949951684871795)
27.0 35.0 6.086514472961426 0.23241953551769257 => -2.1581064013538426e-13 -1.5e-322 != -1.2145006444031332e-13 -1.7839314516843793e-13 (rdiff 0.7769495728958175)
1.0 36.0 4.273143768310547 2.1743738651275635 => 0.011349490084927118 7.891700569365e-312 != -0.004826443842053104 -0.01027211589826429 (rdiff 3.351522250406875)
3.0 36.0 0.9703075885772705 1.050179362297058 => -0.028785851718089627 -2.001581751192e-311 != 0.028023414023822312 -0.006581301207609499 (rdiff 2.027207166607865)
25.0 36.0 0.17585793137550354 2.884145975112915 => 4.703670874857525e-10 3.2706e-319 != -1.4614810787689115e-10 -4.4708604043721866e-10 (rdiff 4.218427486464412)
30.0 36.0 4.857453346252441 1.384168267250061 => 0.332261996382048 2.3103347960173e-310 != 0.11718975012366616 0.31090930623855045 (rdiff 1.8352479293745723)
36.0 36.0 1.7278046607971191 2.759199857711792 => 2.8535651245733185e-16 0.0 != 2.304269908934408e-16 -1.6832035251153219e-16 (rdiff 0.23838145588288642)
21.0 37.0 3.42427396774292 1.7281419038772583 => -0.05900819852578079 -4.1030480701635e-311 != 0.05549359697412458 -0.020060612855328577 (rdiff 2.063333460854862)
16.0 38.0 5.479281425476074 2.2381556034088135 => 0.2317312643499088 1.6113091752362e-310 != 0.22164730040201844 -0.06761547974912585 (rdiff 0.04549554147332408)
21.0 38.0 2.4704010486602783 1.501323938369751 => -0.27281381199413096 -1.89697061218953e-310 != 0.011493854322261368 -0.2725715820249569 (rdiff 24.73562465166654)
30.0 38.0 3.3577494621276855 1.4870713949203491 => -0.1747214116270546 -1.21489957108155e-310 != -0.17118569301682476 -0.03497184849704076 (rdiff 0.02065428803026389)
34.0 38.0 2.6838502883911133 1.7706516981124878 => -0.44959400427074714 -3.1261856109271e-310 != 0.44489390978321897 0.06483963073619614 (rdiff 2.0105645287206073)
16.0 39.0 0.40230125188827515 1.1386219263076782 => -0.07067554292106028 -4.914319657858e-311 != -0.06984308266266644 -0.010815552291147088 (rdiff 0.011919007962671445)
23.0 40.0 2.1926369667053223 2.2005276679992676 => 0.4078815508857499 2.83614421729205e-310 != 0.4023306026492278 0.06706299817986933 (rdiff 0.01379698238207765)
25.0 40.0 2.965238332748413 2.785151720046997 => 1.2802246334602265e-05 8.901853204e-315 != 3.826484040814675e-06 -1.2217018093513182e-05 (rdiff 2.3456944281091556)
1.0 41.0 0.5735069513320923 2.7866339683532715 => -0.5328594427640785 -3.70515955905083e-310 != -0.4476037109090902 -0.28911953189512457 (rdiff 0.1904714589649683)
3.0 41.0 0.46947982907295227 2.117586851119995 => -0.27746481516772487 -1.92931067691357e-310 != -0.044850660846618984 -0.2738158904769424 (rdiff 5.186415315408697)
9.0 41.0 1.0571398735046387 0.7519805431365967 => -0.024798919838402222 -1.7243563221245e-311 != 0.024699705676628218 0.0022160696377651963 (rdiff 2.0040168155472347)
19.0 41.0 3.7745871543884277 2.9545609951019287 => -7.910177999111274e-07 -5.5002256e-316 != 6.78676212912783e-07 -4.0633453926854345e-07 (rdiff 2.165530461891673)
20.0 41.0 2.340153217315674 1.7115272283554077 => 0.3151419325449281 2.1912929566748e-310 != -0.2990619520129218 0.09938001059756993 (rdiff 2.0537680585035156)
38.0 41.0 5.742122173309326 3.129258394241333 => -6.321117106434385e-71 0.0 != 8.823615444551227e-72 6.259229950918043e-71 (rdiff 8.163862870222673)
22.0 42.0 4.8256964683532715 0.7553214430809021 => -0.44419605061110257 -3.0886517361447e-310 != -0.3539321169653483 0.26840675840769684 (rdiff 0.25503176829412044)
1.0 43.0 5.253942012786865 1.933343529701233 => -0.32864219082260443 -2.2851650118414e-310 != -0.1694043423598797 0.2816165094206977 (rdiff 0.9399868164208127)
10.0 43.0 3.907513380050659 1.251060128211975 => 0.2711784828166164 1.88559959190165e-310 != 0.052485287082250025 0.26605086765995645 (rdiff 4.1667523965649815)
24.0 43.0 4.576013088226318 2.773160219192505 => -0.000486936843879032 -3.3858435395e-313 != 0.0004827373378371254 -6.38134200995433e-05 (rdiff 2.008699360320298)
19.0 44.0 4.806464672088623 0.004135284572839737 => -2.438662639712269e-37 0.0 != 2.381658413959575e-37 5.24193351306132e-38 (rdiff 2.02393467737379)
23.0 44.0 5.198854446411133 1.4365551471710205 => 0.3192563268860462 2.21990179101134e-310 != 0.3133207205301567 0.0612758381683456 (rdiff 0.018944187112317802)
34.0 45.0 1.3776473999023438 1.7751652002334595 => -0.06225318205023813 -4.328683214438e-311 != 0.059761588654541654 -0.01743591686334365 (rdiff 2.0416922215722777)
9.0 46.0 2.3506546020507812 0.19425664842128754 => -0.5805311010591668 -4.03663740527537e-310 != 0.3895288399760187 -0.43044586433592813 (rdiff 2.490341770573155)
24.0 46.0 4.104547500610352 3.0920257568359375 => 3.932582884497079e-23 0.0 != -1.7141793730524634e-23 -3.5393215762950885e-23 (rdiff 3.2941489941593876)
31.0 46.0 4.013978481292725 2.6404824256896973 => 0.0005688485619544956 3.95540459233e-313 != 0.0001899305395950215 -0.0005362043235249431 (rdiff 1.9950347277874336)
33.0 46.0 4.432472229003906 1.6479690074920654 => 0.21942932817669156 1.5257694761167e-310 != -0.040907775367135864 0.21558242966110702 (rdiff 6.364000515974643)
38.0 46.0 3.649390459060669 0.8901818990707397 => 0.1540139312797146 1.07091316004075e-310 != 0.13889767421801824 0.06654116864812325 (rdiff 0.1088301668606013)
6.0 47.0 0.5179188251495361 2.9439375400543213 => -0.35715586435084395 -2.48343063605327e-310 != 0.356948479346197 -0.012169409707676878 (rdiff 2.000580994223667)
16.0 47.0 1.767732858657837 0.21350789070129395 => 0.004027183155156467 2.800242421523e-312 != -0.004027005543663848 -3.782216911826488e-05 (rdiff 2.0000441051025866)
21.0 47.0 4.739374160766602 0.4007311165332794 => -0.13090066976259968 -9.1019850439583e-311 != -0.07027289658305304 0.11043869498561021 (rdiff 0.8627476043753629)
31.0 47.0 2.583292245864868 0.7313763499259949 => -0.5099382737794415 -3.5457805905042e-310 != 0.014558311977380004 0.509730417591029 (rdiff 36.02729400027687)
5.0 48.0 1.4751684665679932 1.32283616065979 => -0.1844104645631254 -1.28227097191104e-310 != -0.08485240840233702 -0.1637293138955596 (rdiff 1.173308548753536)
15.0 48.0 5.052380561828613 2.1509382724761963 => 0.35808433829604064 2.4898866427171e-310 != 0.3315368267723346 0.13530604504841517 (rdiff 0.08007409548483176)
6.0 49.0 5.553317070007324 2.886813163757324 => 0.5289608379894482 3.67805118564424e-310 != -0.17299631476757985 0.4998718267749576 (rdiff 4.057642231859712)
21.0 49.0 3.4877524375915527 0.21336454153060913 => -1.2498861741091206e-05 -8.690899203e-315 != 6.89796777283137e-06 1.042303148934606e-05 (rdiff 2.811962907440617)
26.0 49.0 2.7484397888183594 1.9592708349227905 => -0.17133969294478424 -1.19138528889742e-310 != 0.11971762382480258 -0.1225764289092978 (rdiff 2.4311985777092144)
27.0 49.0 2.262770175933838 0.4912377595901489 => -0.06166012078946051 -4.287445574206e-311 != 0.010204568382238143 0.060809845254720905 (rdiff 7.04240360589722)
======================================================================
FAIL: test_lambertw.test_values
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/scipy/special/tests/test_lambertw.py", line 21, in test_values
assert_equal(lambertw(inf,1).real, inf)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 319, in assert_equal
raise AssertionError(msg)
AssertionError:
Items are not equal:
ACTUAL: nan
DESIRED: inf
======================================================================
FAIL: test_lambertw.test_ufunc
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 602, in chk_same_position
assert_array_equal(x_id, y_id)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 739, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 665, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
(mismatch 66.66666666666666%)
x: array([False, True, True], dtype=bool)
y: array([False, False, False], dtype=bool)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/scipy/special/tests/test_lambertw.py", line 93, in test_ufunc
lambertw(r_[0., e, 1.]), r_[0., 1., 0.567143290409783873])
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 842, in assert_array_almost_equal
precision=decimal)
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 628, in assert_array_compare
chk_same_position(x_isnan, y_isnan, hasval='nan')
File ".../miniconda3/envs/python3_env/lib/python3.4/site-packages/numpy/testing/utils.py", line 608, in chk_same_position
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 6 decimals
x and y nan location mismatch:
x: array([ 0.+0.j, nan+0.j, nan+0.j])
y: array([ 0. , 1. , 0.567143])
----------------------------------------------------------------------
Ran 16843 tests in 315.514s
FAILED (KNOWNFAIL=97, SKIP=1198, failures=7)
Thanks
Metadata
Metadata
Assignees
Labels
No labels