summaryrefslogtreecommitdiff
path: root/include/gudhi/pick_n_random_points.h
diff options
context:
space:
mode:
authorGard Spreemann <gspreemann@gmail.com>2017-10-09 10:47:31 +0200
committerGard Spreemann <gspreemann@gmail.com>2017-10-09 10:47:31 +0200
commit673b6bb63befd7e591e52c13f43e5db53e5b29bd (patch)
tree3f15d96ef39bf0c6cf656d176ff1c437cacf5988 /include/gudhi/pick_n_random_points.h
parent9466ce44e348487fc04a1fda493ed659ae92b775 (diff)
parent866f6ce614e9c09c97fed12c8c0c2c9fb84fad3f (diff)
Merge tag 'upstream/2.0.1' into dfsg/latest
Upstream's 2.0.1 release.
Diffstat (limited to 'include/gudhi/pick_n_random_points.h')
-rw-r--r--include/gudhi/pick_n_random_points.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gudhi/pick_n_random_points.h b/include/gudhi/pick_n_random_points.h
index f0e3f1f1..8c90b6bf 100644
--- a/include/gudhi/pick_n_random_points.h
+++ b/include/gudhi/pick_n_random_points.h
@@ -52,7 +52,7 @@ typename OutputIterator>
void pick_n_random_points(Point_container const &points,
std::size_t final_size,
OutputIterator output_it) {
-#ifdef GUDHI_SUBS_PROFILING
+#ifdef GUDHI_SUBSAMPLING_PROFILING
Gudhi::Clock t;
#endif
@@ -72,7 +72,7 @@ void pick_n_random_points(Point_container const &points,
for (int l : landmarks)
*output_it++ = points[l];
-#ifdef GUDHI_SUBS_PROFILING
+#ifdef GUDHI_SUBSAMPLING_PROFILING
t.end();
std::cerr << "Random landmark choice took " << t.num_seconds()
<< " seconds." << std::endl;