diff --git a/lemon/bfs.h b/lemon/bfs.h --- a/lemon/bfs.h +++ b/lemon/bfs.h @@ -1312,7 +1312,7 @@ #else template , - typename _Traits = BfsDefaultTraits<_Digraph> > + typename _Traits = BfsVisitDefaultTraits<_Digraph> > #endif class BfsVisit { public: diff --git a/lemon/bits/base_extender.h b/lemon/bits/base_extender.h --- a/lemon/bits/base_extender.h +++ b/lemon/bits/base_extender.h @@ -298,12 +298,12 @@ public: Red() {} Red(const Node& node) : Node(node) { - LEMON_ASSERT(Parent::red(node) || node == INVALID, - typename Parent::NodeSetError()); + LEMON_DEBUG(Parent::red(node) || node == INVALID, + typename Parent::NodeSetError()); } Red& operator=(const Node& node) { - LEMON_ASSERT(Parent::red(node) || node == INVALID, - typename Parent::NodeSetError()); + LEMON_DEBUG(Parent::red(node) || node == INVALID, + typename Parent::NodeSetError()); Node::operator=(node); return *this; } @@ -330,12 +330,12 @@ public: Blue() {} Blue(const Node& node) : Node(node) { - LEMON_ASSERT(Parent::blue(node) || node == INVALID, - typename Parent::NodeSetError()); + LEMON_DEBUG(Parent::blue(node) || node == INVALID, + typename Parent::NodeSetError()); } Blue& operator=(const Node& node) { - LEMON_ASSERT(Parent::blue(node) || node == INVALID, - typename Parent::NodeSetError()); + LEMON_DEBUG(Parent::blue(node) || node == INVALID, + typename Parent::NodeSetError()); Node::operator=(node); return *this; } diff --git a/lemon/dfs.h b/lemon/dfs.h --- a/lemon/dfs.h +++ b/lemon/dfs.h @@ -1258,7 +1258,7 @@ #else template , - typename _Traits = DfsDefaultTraits<_Digraph> > + typename _Traits = DfsVisitDefaultTraits<_Digraph> > #endif class DfsVisit { public: