Closed AnderGray closed 4 months ago
This was fixed (also in principle tested) by @janmalec in #308 as an answer to issue #307. The changes were pushed to branch v1.1 because we don't touch develop directly.
I guess a release will be issued for v1.1 within the next few months, and only then it will be merged back into develop.
Btw, thanks for spotting this problem. I invite you to check if v1.1 works fine for you, or else give feedback!
There is a strange edge case in
write_float
wherebut
Likely because the string interpolation
f"{x:13.6e}"
is rounding up to1.000000e+00
, and it isn't caught as a case in the function.This was giving an annoying error from NJOY
Fortran runtime error: Bad value during floating point read
, where these strings end up in generated pendf files, and are unable to be read by NJOY.