-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Docstrings are too specific for 32-bit architectures #81
Comments
Do you think we should support 32-bit? I think it's a tiny fraction of users, so not supporting it is an option. If we do want to support it, we should start by adding a CI build to show the error (which as I understand can be done, e.g. Astropy still has this). |
I don't see why not. This seemed to be the only real 32-bit snag. |
This is the workaround that I used: |
The workaround looks good to me - @lpsinger could you do a PR here? |
I am hoping there is some way to work around this with |
It might be more user-friendly if we provided ufuncs for both 32 and 64 bit types, because on 32-bit machines |
We return HEALPix indices as `np.int64`, which is the Numpy index type on 64-bit but not 32-bit platforms. On 32-bit platforms, Numpy will add `dtype=int64` to string representations of these arrays, which causes some doctests to fail. This workaround calls `print()`, which always prints just the members of the array. Fixes astropy#81.
Apparently, on 32-bit architectures, the string representation of Numpy arrays of type
int64
changes slightly.See Debian build log. This is for i386, but the error is similar for all supported 32-bit platforms. Excerpt here:
The text was updated successfully, but these errors were encountered: