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

IEEE_UNDERFLOW_FLAG error in MacOs Darwin #98

Closed
fnemina opened this issue Oct 13, 2022 · 3 comments
Closed

IEEE_UNDERFLOW_FLAG error in MacOs Darwin #98

fnemina opened this issue Oct 13, 2022 · 3 comments

Comments

@fnemina
Copy link
Contributor

fnemina commented Oct 13, 2022

While running Py6S code sometimes the flag IEEE_UNDERFLOW_FLAG is raised in MacOs Darwin with the M1 chip.

This flag is raised randomly and sometimes for the same object it can result in and error or not.

For what I've read it could be ignored the same way IEEE_INVALID_FLAG and IEEE_DENORMAL are ignored by adding the line

and (not ("IEEE_UNDERFLOW_FLAG" in stderr))

to outputs.py at line 77.

Does this seems like a sensible solution.

Thanks in advance
Fran

@robintw
Copy link
Owner

robintw commented Oct 22, 2022

Interesting, thanks for raising this.

Yes, that sounds like a sensible solution. Are you able to submit a PR?

@fnemina
Copy link
Contributor Author

fnemina commented Oct 23, 2022

Yes I am. I'll just send it to you.

@robintw
Copy link
Owner

robintw commented Oct 24, 2022

Fixed by #99

@robintw robintw closed this as completed Oct 24, 2022
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

No branches or pull requests

2 participants