Commit 959d41f6 authored by Tjerk Vreeken's avatar Tjerk Vreeken

Fix symbol reference in logger output

parent d56dfd49
......@@ -215,7 +215,7 @@ class ModelicaMixin(OptimizationProblem):
times, np.full_like(times, v.value))
if logger.getEffectiveLevel() == logging.DEBUG:
logger.debug("Read constant input {} = {} from Modelica model".format(
sym.name(), sym.value))
v.symbol.name(), v.value))
return constant_inputs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment