Skip to content

Commit afb996b

Browse files
Prerak SinghPrerak Singh
authored andcommitted
bug fix
1 parent 3c3d079 commit afb996b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pydatastructs/graphs/_backend/cpp/Algorithms.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <unordered_set>
66
#include <variant>
77
#include <deque>
8+
#include <functional>
89
#include "GraphEdge.hpp"
910
#include "AdjacencyList.hpp"
1011
#include "AdjacencyMatrix.hpp"
@@ -792,8 +793,6 @@ static PyObject* strongly_connected_components_tarjan_adjacency_matrix(PyObject*
792793
return components;
793794
}
794795

795-
#include <functional>
796-
797796
static PyObject* all_pair_shortest_paths_floyd_warshall_adjacency_list(PyObject* self, PyObject* args, PyObject* kwargs) {
798797
PyObject* graph_obj;
799798
static const char* kwlist[] = {"graph", nullptr};

0 commit comments

Comments
 (0)