We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e95bdc8 commit f8eedacCopy full SHA for f8eedac
include/Graph/Graph.hpp
@@ -898,7 +898,7 @@ namespace CXXGRAPH
898
result.success = false;
899
result.errorMessage = "";
900
result.result = INF_DOUBLE;
901
- auto nodeSet = getNodeSet();
+ auto nodeSet = Graph<T>::getNodeSet();
902
if (std::find(nodeSet.begin(), nodeSet.end(), &source) == nodeSet.end())
903
{
904
// check if source node exist in the graph
@@ -911,7 +911,7 @@ namespace CXXGRAPH
911
result.errorMessage = ERR_TARGET_NODE_NOT_IN_GRAPH;
912
return result;
913
}
914
- const AdjacencyMatrix<T> adj = getAdjMatrix();
+ const AdjacencyMatrix<T> adj = Graph<T>::getAdjMatrix();
915
// n denotes the number of vertices in graph
916
int n = adj.size();
917
0 commit comments