summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+ }