Skip to content

Commit 908659b

Browse files
committed
[ModelicaSystemDoE.prepare] do not convert all non-structural parameters to string
1 parent 50399f6 commit 908659b

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
@@ -1815,7 +1815,7 @@ def prepare(self) -> int:
18151815
for idx_pc_simple, pc_simple in enumerate(param_simple_combinations):
18161816
sim_param_simple = {}
18171817
for idx_simple, pk_simple in enumerate(param_simple.keys()):
1818-
sim_param_simple[pk_simple] = str(pc_simple[idx_simple])
1818+
sim_param_simple[pk_simple] = pc_simple[idx_simple]
18191819

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

0 commit comments

Comments
 (0)