meshio icon indicating copy to clipboard operation
meshio copied to clipboard

:bug: (_nastran): fix converting float values into nastran string

Open ironheads opened this issue 2 years ago • 0 comments

if a float value is negative and preicise, then the constraint (len(out)<=len) can not be satisfied. Example: -0.09466145283577683. fix this using dynamic precision setting. when convert float -0.09466145283577683, the length of variable out is 17 > 16. after the bug-fix, the length will be 16.

ironheads avatar Aug 15 '22 10:08 ironheads