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

TST: Use diff. values for decimal keyword for single and doubles #8043

Merged
merged 1 commit into from Oct 22, 2017

Conversation

oleksandr-pavlyk
Copy link
Contributor

@oleksandr-pavlyk oleksandr-pavlyk commented Oct 16, 2017

In test_ndimage.py the same default value for decimal keyword in assert_allclose was used in tests.

This commit proposes to use different values for different floating point types, allowing to strengthen the check for doubles, and weaken the checks for floats where appropriate.

Lowering of the value of the keyword was necessary with Intel (R) Distribution for Python* for floats, when Intel (R) MKL was being used to implement FFT functionality via package mkl_fft.

@rgommers

@oleksandr-pavlyk oleksandr-pavlyk changed the title MAINT: Use diff. values for decimal keyword for single and doubles TST: Use diff. values for decimal keyword for single and doubles Oct 16, 2017
@person142 person142 merged commit b619ad3 into scipy:master Oct 22, 2017
@pv pv added this to the 1.1.0 milestone Oct 22, 2017
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 this pull request may close these issues.

None yet

3 participants