Skip to content

Commit 6a86d00

Browse files
committed
[ModelicaSystemDoE.prepare] do not convert all non-structural parameters to string
1 parent 6d40c65 commit 6a86d00

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
@@ -1692,7 +1692,7 @@ def prepare(self) -> int:
16921692
for idx_pc_simple, pc_simple in enumerate(param_simple_combinations):
16931693
sim_param_simple = {}
16941694
for idx_simple, pk_simple in enumerate(param_simple.keys()):
1695-
sim_param_simple[pk_simple] = str(pc_simple[idx_simple])
1695+
sim_param_simple[pk_simple] = pc_simple[idx_simple]
16961696

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

0 commit comments

Comments
 (0)