summaryrefslogtreecommitdiff
path: root/src/Subsampling/example/example_custom_kernel.cpp
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2020-03-22 11:02:36 +0100
committerGitHub <noreply@github.com>2020-03-22 11:02:36 +0100
commit49f9e5cc6bf933705500ad96d674df6a9df7f713 (patch)
tree665b6fcbdf6c951d31206852a2d356ef103ada18 /src/Subsampling/example/example_custom_kernel.cpp
parent2ec0ac1f006577d520accbe605a61fc10ede3352 (diff)
parentbb6f10aff11e05baec2d2d10c544a2ea1c302bc6 (diff)
Merge pull request #200 from VincentRouvreau/print_warnings_to_stderr
Print warnings to stderr
Diffstat (limited to 'src/Subsampling/example/example_custom_kernel.cpp')
-rw-r--r--src/Subsampling/example/example_custom_kernel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Subsampling/example/example_custom_kernel.cpp b/src/Subsampling/example/example_custom_kernel.cpp
index f1eb757b..535bf42a 100644
--- a/src/Subsampling/example/example_custom_kernel.cpp
+++ b/src/Subsampling/example/example_custom_kernel.cpp
@@ -55,9 +55,9 @@ int main(void) {
Gudhi::subsampling::choose_n_farthest_points(k, points, 2,
Gudhi::subsampling::random_starting_point,
std::back_inserter(results));
- std::cout << "Before sparsification: " << points.size() << " points.\n";
- std::cout << "After sparsification: " << results.size() << " points.\n";
- std::cout << "Result table: {" << results[0] << "," << results[1] << "}\n";
+ std::clog << "Before sparsification: " << points.size() << " points.\n";
+ std::clog << "After sparsification: " << results.size() << " points.\n";
+ std::clog << "Result table: {" << results[0] << "," << results[1] << "}\n";
return 0;
}