summaryrefslogtreecommitdiff
path: root/src/Witness_complex/example/example_witness_complex_sphere.cpp
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2020-05-20 08:46:13 +0200
committerGard Spreemann <gspr@nonempty.org>2020-05-20 08:46:13 +0200
commit2e879a40ee1bda90526d87f131b77ed365f3676b (patch)
treea3da06477fe2e8f3e0aa5c0be16f2eecb5bcaf9d /src/Witness_complex/example/example_witness_complex_sphere.cpp
parentb521123d85ae166e01c814292370d63856251326 (diff)
parent9b3079646ee3f6a494b83e864b3e10b8a93597d0 (diff)
Merge branch 'dfsg/latest' into debian/sid
Diffstat (limited to 'src/Witness_complex/example/example_witness_complex_sphere.cpp')
-rw-r--r--src/Witness_complex/example/example_witness_complex_sphere.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Witness_complex/example/example_witness_complex_sphere.cpp b/src/Witness_complex/example/example_witness_complex_sphere.cpp
index 9e3c972d..78d5db4f 100644
--- a/src/Witness_complex/example/example_witness_complex_sphere.cpp
+++ b/src/Witness_complex/example/example_witness_complex_sphere.cpp
@@ -47,8 +47,8 @@ int main(int argc, char* const argv[]) {
Gudhi::Simplex_tree<> simplex_tree;
Point_Vector point_vector, landmarks;
generate_points_sphere(point_vector, nbP, 4);
- std::cout << "Successfully generated " << point_vector.size() << " points.\n";
- std::cout << "Ambient dimension is " << point_vector[0].size() << ".\n";
+ std::clog << "Successfully generated " << point_vector.size() << " points.\n";
+ std::clog << "Ambient dimension is " << point_vector[0].size() << ".\n";
// Choose landmarks
start = clock();
@@ -62,8 +62,8 @@ int main(int argc, char* const argv[]) {
witness_complex.create_complex(simplex_tree, 0);
end = clock();
double time = static_cast<double>(end - start) / CLOCKS_PER_SEC;
- std::cout << "Witness complex for " << number_of_landmarks << " landmarks took " << time << " s. \n";
- std::cout << "Number of simplices is: " << simplex_tree.num_simplices() << "\n";
+ std::clog << "Witness complex for " << number_of_landmarks << " landmarks took " << time << " s. \n";
+ std::clog << "Number of simplices is: " << simplex_tree.num_simplices() << "\n";
l_time.push_back(std::make_pair(nbP, time));
}
write_data(l_time, "w_time.dat");