Use createUniqueName() while adding nodes from a Graphview to another.
1 unresolved thread
Compare changes
- Iryna de Albuquerque Silva authored
+ 28
− 10
@@ -37,6 +37,7 @@
@@ -37,6 +37,7 @@
const std::shared_ptr<Aidge::Node> Aidge::GraphView::operator[](const std::string& nodeName) const {
return (mNodeRegistry.find(nodeName) != mNodeRegistry.cend()) ? mNodeRegistry.at(nodeName) : nullptr;
@@ -674,20 +675,37 @@ void Aidge::GraphView::add(std::shared_ptr<Node> node, bool includeLearnablePara
@@ -674,20 +675,37 @@ void Aidge::GraphView::add(std::shared_ptr<Node> node, bool includeLearnablePara