Dereference the node iterator when dumping the PBQP graph structure in DOT
format. Thanks to Arnaud A. de Grandmaison for the patch! llvm-svn: 195316
This commit is contained in:
parent
2fc05be887
commit
fd949a28c3
|
@ -437,8 +437,8 @@ namespace PBQP {
|
|||
for (NodeItr nodeItr = nodesBegin(), nodeEnd = nodesEnd();
|
||||
nodeItr != nodeEnd; ++nodeItr) {
|
||||
|
||||
os << " node" << nodeItr << " [ label=\""
|
||||
<< nodeItr << ": " << getNodeCosts(*nodeItr) << "\" ]\n";
|
||||
os << " node" << *nodeItr << " [ label=\""
|
||||
<< *nodeItr << ": " << getNodeCosts(*nodeItr) << "\" ]\n";
|
||||
}
|
||||
|
||||
os << " edge [ len=" << getNumNodes() << " ]\n";
|
||||
|
|
Loading…
Reference in New Issue