Skip to content

Commit c333ee2

Browse files
committed
[ModelicaSystemDoE.prepare] do not convert all non-structural parameters to string
1 parent 55aa6e1 commit c333ee2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1918,7 +1918,7 @@ def prepare(self) -> int:
19181918
for idx_pc_simple, pc_simple in enumerate(param_simple_combinations):
19191919
sim_param_simple = {}
19201920
for idx_simple, pk_simple in enumerate(param_simple.keys()):
1921-
sim_param_simple[pk_simple] = str(pc_simple[idx_simple])
1921+
sim_param_simple[pk_simple] = pc_simple[idx_simple]
19221922

19231923
resfilename = f"DOE_{idx_pc_structure:09d}_{idx_pc_simple:09d}.mat"
19241924
logger.info(f"use result file {repr(resfilename)} "

0 commit comments

Comments
 (0)