Thanks to visit codestin.com
Credit goes to github.com

Skip to content

linalg.solve test failure on OS X with Accelerate #7500

@rgommers

Description

@rgommers

numpy 1.13.0, scipy 1.0.0.dev0+af8d8a, clang Apple LLVM version 8.1.0 (clang-802.0.42), OS X 10.12

======================================================================
FAIL: test_all_type_size_routine_combinations (test_basic.TestSolve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/rgommers/Code/scipy/scipy/linalg/tests/test_basic.py", line 777, in test_all_type_size_routine_combinations
    err_msg=err_msg)
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/testing/utils.py", line 1395, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/testing/utils.py", line 778, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.001, atol=0.001
Failed for size: 1000, assume_a: gen,dtype: <class 'numpy.float32'>
(mismatch 99.0%)
 x: array([ -6.714335e+03,  -1.028524e+04,   5.493511e+03,  -1.711655e+04,
         1.501354e+03,  -4.972360e+03,   1.454109e+04,   2.557593e+03,
        -2.108792e+03,   1.014837e+04,  -6.180545e+03,  -1.128914e+04,...
 y: array([  1.107730e+00,  -1.649878e+00,  -4.139251e-01,   1.680367e+00,
        -2.301190e-01,   1.760759e+00,  -3.823581e-01,  -7.982016e-01,
         2.277969e+00,  -9.161606e-02,  -2.823512e-01,   1.916860e+00,...

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectA clear bug or issue that prevents SciPy from being installed or used as expectedscipy.linalg

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions