-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Improve compatibility with 32bit architectures #2937
Conversation
Two things:
See https://docs.scipy.org/doc/numpy-1.13.0/user/basics.types.html#array-types-and-conversions-between-types for reference |
This replaces np.int64 with np.intp in a few cases See dask#20
273ef51
to
0978047
Compare
Fixed
…On Thu, Nov 30, 2017 at 11:49 AM, Antoine Pitrou ***@***.***> wrote:
Two things:
- I wouldn't change np.float64 (it doesn't have anything with the
architecture between 32- or 64-bit)
- I would use np.intp for integers
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2937 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AASszAQtKaTfPQrKPwD1KhO23E-hDhoyks5s7tyigaJpZM4QwxgB>
.
|
LGTM. @jakirkham, any concerns? |
Not really. Looks pretty clean to me. 👍 Happy to see this was relatively straightforward. Should we be adding 32-bit to Travis or another CI to avoid regressions? Side note: Guessing the xref in the OP was suppose to be issue ( #2507 ) (unless I'm missing something). |
Yup. Thanks. |
I noticed some Windows errors in Appveyor, so this might not be complete yet. |
Probably because |
Probably true. It would be nice if Windows was less weird with integers. 😞 |
Tests pass. Merging this soon if there are no further concerns. |
Thanks @mrocklin. |
OK, this fixes all the new failures from 0.16.0, but not the |
This replaces np.foo64 with np.foo_ and vice versa for foo in {float, int}
See #20
flake8 dask
docs/source/changelog.rst
for all changesand one of the
docs/source/*-api.rst
files for new APIcc @QuLogic