summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnur Nigmetov <a.nigmetov@gmail.com>2017-04-26 15:02:45 +0200
committerArnur Nigmetov <a.nigmetov@gmail.com>2017-04-26 15:02:45 +0200
commit94999e31605de5c4b94e8380ad7a2574761d1018 (patch)
tree231c6a5608f274503d3555b8ff5a6cea2b8ec6bf
parentbd045319b682622c8679697055c70b739cc95c24 (diff)
More debug output
-rw-r--r--geom_bottleneck/bottleneck/src/bound_match.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/geom_bottleneck/bottleneck/src/bound_match.cpp b/geom_bottleneck/bottleneck/src/bound_match.cpp
index a95ee60..210bd81 100644
--- a/geom_bottleneck/bottleneck/src/bound_match.cpp
+++ b/geom_bottleneck/bottleneck/src/bound_match.cpp
@@ -448,8 +448,9 @@ void BoundMatchOracle::printLayerGraph(void)
void BoundMatchOracle::buildLayerGraph(double r)
{
- //bool isDebug {false};
- //printDebug(isDebug,"Entered buildLayerGraph");
+#ifdef VERBOSE_BOTTLENECK
+ std::cout << "Entered buildLayerGraph, r = " << r << std::endl;
+#endif
layerGraph.clear();
DiagramPointSet L1 = M.getExposedVertices();
//printDebug(isDebug,"Got exposed vertices");
@@ -524,7 +525,10 @@ void BoundMatchOracle::buildLayerGraph(double r)
buildLayerOracles(r);
//printDebug(isDebug,"layer oracles built, layer graph:");
printLayerGraph();
-}
+#ifdef VERBOSE_BOTTLENECK
+ std::cout << "Exit buildLayerGraph, r = " << r << std::endl;
+#endif
+ }