Skip to content

coord.lalo2yx(): replace np.float128 with np.longdouble for Windows#699

Merged
yunjunz merged 2 commits intoinsarlab:mainfrom
pbrotoisworo:float128
Nov 18, 2021
Merged

coord.lalo2yx(): replace np.float128 with np.longdouble for Windows#699
yunjunz merged 2 commits intoinsarlab:mainfrom
pbrotoisworo:float128

Conversation

@pbrotoisworo
Copy link
Contributor

@pbrotoisworo pbrotoisworo commented Nov 18, 2021

Description of proposed changes

Simple change that modifies np.float128 object to np.longdouble. This is because float128 is not supported on Windows OS and will raise errors for Windows users.

Reminders

@pbrotoisworo
Copy link
Contributor Author

Hmm something is wrong on CircleCI during the installation process (timed out)? I don't think it's related to the code I changed.

@yunjunz yunjunz self-requested a review November 18, 2021 07:15
Copy link
Member

@yunjunz yunjunz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you @pbrotoisworo for the fix.

You are right: there is an issue with circle CI at the moment, it's not related to your change.

@yunjunz yunjunz changed the title coord.lalo2yx(): Replace np.float128 object with np.longdouble coord.lalo2yx(): replace np.float128 object with np.longdouble for Windows Nov 18, 2021
@yunjunz yunjunz changed the title coord.lalo2yx(): replace np.float128 object with np.longdouble for Windows coord.lalo2yx(): replace np.float128 with np.longdouble for Windows Nov 18, 2021
@yunjunz yunjunz merged commit 59819bb into insarlab:main Nov 18, 2021
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.

AttributeError: module 'numpy' has no attribute 'float128' in coord.py

2 participants