We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac03bc commit 0767e55Copy full SHA for 0767e55
src/xml_parsing.cpp
@@ -941,7 +941,7 @@ void addTreeToXML(const Tree& tree,
941
for(const auto& [name, value]: node.config().output_ports)
942
{
943
// avoid duplicates, in the case of INOUT ports
944
- if(node.config().input_ports.count(name))
+ if(node.config().input_ports.count(name) == 0)
945
946
elem->SetAttribute(name.c_str(), value.c_str());
947
}
0 commit comments