diff --git a/data_structures/dynamic_graph.hpp b/data_structures/dynamic_graph.hpp index 021a3bc37..e6773b3d1 100644 --- a/data_structures/dynamic_graph.hpp +++ b/data_structures/dynamic_graph.hpp @@ -262,7 +262,7 @@ template class DynamicGraph return i; } } - return EndEdges(from); + return SPECIAL_EDGEID; } // searches for a specific edge diff --git a/data_structures/static_graph.hpp b/data_structures/static_graph.hpp index 09ba2c436..7434b56de 100644 --- a/data_structures/static_graph.hpp +++ b/data_structures/static_graph.hpp @@ -35,8 +35,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include -#include - #include #include #include @@ -165,7 +163,7 @@ template class StaticGraph return i; } } - return EndEdges(from); + return SPECIAL_EDGEID; } // searches for a specific edge