Open whophil opened 1 year ago
Yes, I encountered that too. This is related to https://github.com/nschloe/meshio/commit/afcdfe0d033ff53f3bbabf44f5800775a18137b5. It happens because the negative sign produces a string which does not meet the requirements.
Change the output precision from 11 to 10 to take the possible negative sign into account. https://github.com/nschloe/meshio/blob/0138cc8692b806b44b32d344f7961e8370121ff7/src/meshio/nastran/_nastran.py#L412
or an "adaptive" solution as proposed in #1350.
Describe the bug
AssertionError
is sometimes raised in Nastran float -> string conversionTo Reproduce
Diagnose
meshio=5.3.4