From 4cf869f64724d0f7e2e3a3c88bcc3da3a8e3b1a9 Mon Sep 17 00:00:00 2001 From: Arnur Nigmetov Date: Wed, 26 Apr 2017 15:25:34 +0200 Subject: More debug output --- geom_bottleneck/bottleneck/src/neighb_oracle.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/geom_bottleneck/bottleneck/src/neighb_oracle.cpp b/geom_bottleneck/bottleneck/src/neighb_oracle.cpp index 5005bc4..7195ef0 100644 --- a/geom_bottleneck/bottleneck/src/neighb_oracle.cpp +++ b/geom_bottleneck/bottleneck/src/neighb_oracle.cpp @@ -133,8 +133,9 @@ NeighbOracleAnn::NeighbOracleAnn(const DiagramPointSet& S, const double rr, cons void NeighbOracleAnn::rebuild(const DiagramPointSet& S, double rr) { - //bool isDebug { false }; - //printDebug(isDebug, "Entered rebuild, r = ", rr); +#ifdef VERBOSE_BOTTLENECK + std::cout << "Entered rebuild, r = " << rr << ", size = " << S.size() << std::endl; +#endif r = rr; size_t annNumPoints = S.size(); //printDebug(isDebug, "S = ", S); @@ -170,6 +171,9 @@ void NeighbOracleAnn::rebuild(const DiagramPointSet& S, double rr) 1, // bucket size ANN_KD_STD); } +#ifdef VERBOSE_BOTTLENECK + std::cout << "Exit rebuild" << std::endl; +#endif } void NeighbOracleAnn::deletePoint(const DiagramPoint& p) -- cgit v1.2.3