summaryrefslogtreecommitdiff
path: root/geom_bottleneck/bottleneck/src/neighb_oracle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'geom_bottleneck/bottleneck/src/neighb_oracle.cpp')
-rw-r--r--geom_bottleneck/bottleneck/src/neighb_oracle.cpp8
1 files 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)