Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_airfoilshape and test_geometry fail #82

Open
hassan-shehawy opened this issue Sep 20, 2018 · 0 comments
Open

test_airfoilshape and test_geometry fail #82

hassan-shehawy opened this issue Sep 20, 2018 · 0 comments

Comments

@hassan-shehawy
Copy link

hassan-shehawy commented Sep 20, 2018

Hi
I installed it in Linux (Ubuntu 14.04.5 LTS) with openmdao-0.10.3.2 and I have 2 tests failing. Below is the error I get when I run the airfoilshape test. Any clue how to solve this?

$ python -m unittest discover 'src/fusedwind/test' 'test_airfoilshape.py'
...F
======================================================================
FAIL: test_pchip (test_airfoilshape.BlendAirfoilTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hassan/fast8/Source/fusedwind/src/fusedwind/test/test_airfoilshape.py", line 155, in test_pchip
    self.assertEqual(np.testing.assert_array_almost_equal(p, p_data, decimal=6), None)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 811, in assert_array_almost_equal
    header=('Arrays are not almost equal to %d decimals' % decimal))
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 644, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal to 6 decimals

(mismatch 95.0%)
 x: array([[  1.00000000e+00,  -1.14022461e-02],
       [  8.83935962e-01,  -2.51371796e-03],
       [  7.66504832e-01,  -2.63775983e-02],...
 y: array([[  1.00000000e+00,  -1.16953764e-02],
       [  8.83275627e-01,  -2.76480783e-03],
       [  7.64862711e-01,  -2.73052190e-02],...

----------------------------------------------------------------------
Ran 4 tests in 0.085s

FAILED (failures=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant