diff -r 75fe24093ded -r 6a958ab38386 lemon/smart_graph.h --- a/lemon/smart_graph.h Fri Oct 14 10:40:00 2005 +0000 +++ b/lemon/smart_graph.h Fri Oct 14 10:44:49 2005 +0000 @@ -75,7 +75,8 @@ public: SmartGraphBase() : nodes(), edges() { } - SmartGraphBase(const SmartGraphBase &_g) : nodes(_g.nodes), edges(_g.edges) { } + SmartGraphBase(const SmartGraphBase &_g) + : nodes(_g.nodes), edges(_g.edges) { } typedef True NodeNumTag; typedef True EdgeNumTag; @@ -314,7 +315,14 @@ ///\todo It could be implemented in a bit faster way. Node split(Node n, bool connect = true) { - return _split(n,connect); + for (OutEdgeIt it(*this, n); it != INVALID; ++it) { + getNotifier(Edge()).signalChange(it); + } + Node b = _split(n,connect); + for (OutEdgeIt it(*this, b); it != INVALID; ++it) { + getNotifier(Edge()).commitChange(it); + } + return b; }