Closed fnemina closed 1 year ago
While running Py6S code sometimes the flag IEEE_UNDERFLOW_FLAG is raised in MacOs Darwin with the M1 chip.
Py6S
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.
outputs.py
Does this seems like a sensible solution.
Thanks in advance Fran
Interesting, thanks for raising this.
Yes, that sounds like a sensible solution. Are you able to submit a PR?
Yes I am. I'll just send it to you.
Fixed by #99
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
to
outputs.py
at line 77.Does this seems like a sensible solution.
Thanks in advance Fran