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

Precision error in test_feature_center_of_mass on 32-bit Linux #602

Closed
matthew-brett opened this issue Mar 17, 2015 · 0 comments · Fixed by #603
Closed

Precision error in test_feature_center_of_mass on 32-bit Linux #602

matthew-brett opened this issue Mar 17, 2015 · 0 comments · Fixed by #603

Comments

@matthew-brett
Copy link
Contributor

http://nipy.bic.berkeley.edu/builders/dipy-py2.6-32/builds/511/steps/shell_6/logs/stdio

======================================================================
FAIL: dipy.segment.tests.test_feature.test_feature_center_of_mass
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildslave/bongoslave/dipy-py2_6-32/build/venv/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/buildslave/bongoslave/dipy-py2_6-32/build/venv/local/lib/python2.7/site-packages/dipy/segment/tests/test_feature.py", line 68, in test_feature_center_of_mass
    assert_array_equal(features, np.mean(s, axis=0)[None, :])
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 707, in assert_array_equal
    verbose=verbose, header='Arrays are not equal')
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 636, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Arrays are not equal

(mismatch 33.3333333333%)
 x: array([[ 0.46466017,  0.61721522,  0.51609766]], dtype=float32)
 y: array([[ 0.46466017,  0.61721528,  0.51609766]], dtype=float32)
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

Successfully merging a pull request may close this issue.

1 participant