diff --git a/lemon/dfs.h b/lemon/dfs.h --- a/lemon/dfs.h +++ b/lemon/dfs.h @@ -999,7 +999,7 @@ template DfsWizard > reachedMap(const T &t) { - Base::_pred=reinterpret_cast(const_cast(&t)); + Base::_reached=reinterpret_cast(const_cast(&t)); return DfsWizard >(*this); } @@ -1020,7 +1020,7 @@ template DfsWizard > processedMap(const T &t) { - Base::_pred=reinterpret_cast(const_cast(&t)); + Base::_processed=reinterpret_cast(const_cast(&t)); return DfsWizard >(*this); }