FEM: sanitize NAN format on frd import

depending on c runtime lib and possibly locale calculix may format NAN differently so we need to sanitize when importing the results
This commit is contained in:
Adrian Insaurralde Avalos
2025-12-29 13:06:34 -03:00
committed by Kacper Donat
parent 99650ab906
commit 20b2f791e2

View File

@@ -383,6 +383,9 @@ def read_frd_result(frd_input):
for line in frd_file:
# depending on c runtime lib and possibly locale calculix may format NAN differently so we
# need to sanitize the file
line = line.replace("NAN(IND)", "NAN")
# Check if we found nodes section
if line[4:6] == "2C":
nodes_found = True