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:
committed by
Kacper Donat
parent
99650ab906
commit
20b2f791e2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user