Skip to content
Snippets Groups Projects
Commit df7e31ea authored by imcovangent's avatar imcovangent
Browse files

Small bug fix for mode merge (KEC related)

Former-commit-id: f441ef67b16bfe163c451ed07fe5c43156dc0d0b
parent 8a3250f9
No related branches found
No related tags found
No related merge requests found
...@@ -3200,7 +3200,7 @@ class KadmosGraph(nx.DiGraph, EquationMixin, VistomsMixin): ...@@ -3200,7 +3200,7 @@ class KadmosGraph(nx.DiGraph, EquationMixin, VistomsMixin):
else: else:
suffix_strs = ['']*len(args[1:]) suffix_strs = ['']*len(args[1:])
for idx, arg in enumerate(args[1:]): for idx, arg in enumerate(args[1:]):
node_name = args[0] + suffix_strs[idx] + '[' + arg + ']' + instance_str + version_str node_name = args[0] + suffix_strs[idx]
function_nodes.append(node_name) function_nodes.append(node_name)
assert self.has_node(node_name), 'Node "' + node_name + '" is not present in the graph.' assert self.has_node(node_name), 'Node "' + node_name + '" is not present in the graph.'
assert self.node[node_name]['category'], 'Node "' + node_name + '" is not of category "function".' assert self.node[node_name]['category'], 'Node "' + node_name + '" is not of category "function".'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment