提交 b2ba9b8b authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Merged

...@@ -506,9 +506,9 @@ def pydotprint(fct, outfile=None, ...@@ -506,9 +506,9 @@ def pydotprint(fct, outfile=None,
varstr = '%s %s'% (dstr, str(var.type)) varstr = '%s %s'% (dstr, str(var.type))
elif var in input_update and input_update[var].variable.name is not None: elif var in input_update and input_update[var].variable.name is not None:
if var_with_name_simple: if var_with_name_simple:
varstr = input_update[var].variable.name varstr = input_update[var].variable.name+" UPDATE"
else: else:
varstr = input_update[var].variable.name+" "+str(var.type) varstr = input_update[var].variable.name+" UPDATE "+str(var.type)
else: else:
#a var id is needed as otherwise var with the same type will be merged in the graph. #a var id is needed as otherwise var with the same type will be merged in the graph.
varstr = str(var.type) varstr = str(var.type)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论