Skip to content

Commit f8eedac

Browse files
committed
explicitly use Graph implementation instead of Graph_TS
1 parent e95bdc8 commit f8eedac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/Graph/Graph.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ namespace CXXGRAPH
898898
result.success = false;
899899
result.errorMessage = "";
900900
result.result = INF_DOUBLE;
901-
auto nodeSet = getNodeSet();
901+
auto nodeSet = Graph<T>::getNodeSet();
902902
if (std::find(nodeSet.begin(), nodeSet.end(), &source) == nodeSet.end())
903903
{
904904
// check if source node exist in the graph
@@ -911,7 +911,7 @@ namespace CXXGRAPH
911911
result.errorMessage = ERR_TARGET_NODE_NOT_IN_GRAPH;
912912
return result;
913913
}
914-
const AdjacencyMatrix<T> adj = getAdjMatrix();
914+
const AdjacencyMatrix<T> adj = Graph<T>::getAdjMatrix();
915915
// n denotes the number of vertices in graph
916916
int n = adj.size();
917917

0 commit comments

Comments
 (0)