diff options
Diffstat (limited to 'lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp b/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp index 4f46e5b45c..8571dc819d 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp @@ -174,7 +174,7 @@ void Graph::addNode(Node *nd){ //add an edge //this adds an edge ONLY when -//the edge to be added doesn not already exist +//the edge to be added does not already exist //we "equate" two edges here only with their //end points void Graph::addEdge(Edge ed, int w){ @@ -497,7 +497,7 @@ void Graph::makeUnDirectional(){ //reverse the sign of weights on edges //this way, max-spanning tree could be obtained -//usin min-spanning tree, and vice versa +//using min-spanning tree, and vice versa void Graph::reverseWts(){ vector<Node *> allNodes=getAllNodes(); for(vector<Node *>::iterator NI=allNodes.begin(), NE=allNodes.end(); NI!=NE; |