From 94999e31605de5c4b94e8380ad7a2574761d1018 Mon Sep 17 00:00:00 2001 From: Arnur Nigmetov Date: Wed, 26 Apr 2017 15:02:45 +0200 Subject: More debug output --- geom_bottleneck/bottleneck/src/bound_match.cpp | 10 +++++++--- 1 file 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 + } -- cgit v1.2.3