diff --git a/include/aidge/graph/Node.hpp b/include/aidge/graph/Node.hpp index 9b16f76d52e1a8d19a225d5ead2d1d47e465fd30..15d8aaf4e130af6875a9205857128daada375ad7 100644 --- a/include/aidge/graph/Node.hpp +++ b/include/aidge/graph/Node.hpp @@ -326,7 +326,7 @@ public: * @param otherInId ID of the other Node input to connect to the current Node. * Default to the first available data input. * - * @note otherNode shared_ptr is passed by refenrece in order to be able to detect + * @note otherNode shared_ptr is passed by reference in order to be able to detect * possible dangling connection situations in debug using ref counting. */ void addChild(const NodePtr& otherNode, @@ -507,7 +507,11 @@ private: * @param outId * @param otherInId * +<<<<<<< HEAD * @note otherNode shared_ptr is passed by refenrece in order to be able to detect +======= + * @note otherNode shared_ptr is passed by reference in order to be able to detect +>>>>>>> 3a88aa7d (Update some log messages and fix small typo in Node.hpp) * possible dangling connection situations in debug using ref counting. */ void addChildOp(const NodePtr& otherNode, const IOIndex_t outId, diff --git a/src/graph/GraphView.cpp b/src/graph/GraphView.cpp index 0e7951fe8874bb999500bd686cc5ca6e3686c8f7..5d4df27a045142833074b892a688f1fbab47dea7 100644 --- a/src/graph/GraphView.cpp +++ b/src/graph/GraphView.cpp @@ -574,8 +574,7 @@ bool Aidge::GraphView::forwardDims(const std::vector<std::vector<Aidge::DimSize_ Log::debug("Trying to constant fold the graph"); // Shape are folded if we don't find back the node in the graph if(constantFolding(shared_from_this(), true)){ - Log::notice("Shape node {} (of type {}) was folded.", nodePtr->name(), nodePtr->type()); - Log::debug("Resetting list of nodes to graph inputs"); + Log::notice("Constant folding worked, resetting list of nodes to graph inputs."); // Graph was modified during constant folding // We re-propagate dims starting from the entry of the graph nextList = inputNodes(); @@ -595,7 +594,7 @@ bool Aidge::GraphView::forwardDims(const std::vector<std::vector<Aidge::DimSize_ Log::debug("Breaking loop to restart from the beginning"); break; }else{ - Log::debug("Shape node {} (of type {}) was not folded.", nodePtr->name(), nodePtr->type()); + Log::debug("Constant folding fail to fold any nodes."); } } // Recompute every time, even if it was already computed in a