diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-01-27 10:43:16 +0100 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-01-27 10:43:16 +0100 |
commit | bf4b4eeda9762ed9e99c2b24f19331fa0111fcfe (patch) | |
tree | 03950723bd824ba3c69597e022500dfd5f37e914 /src/Skeleton_blocker/example/Skeleton_blocker_from_simplices.cpp | |
parent | c7b70317b643b2eb9c603602da9c979388829821 (diff) |
Code review: Use std::clog instead of std::cout
Diffstat (limited to 'src/Skeleton_blocker/example/Skeleton_blocker_from_simplices.cpp')
-rw-r--r-- | src/Skeleton_blocker/example/Skeleton_blocker_from_simplices.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Skeleton_blocker/example/Skeleton_blocker_from_simplices.cpp b/src/Skeleton_blocker/example/Skeleton_blocker_from_simplices.cpp index 486827eb..d04ca289 100644 --- a/src/Skeleton_blocker/example/Skeleton_blocker_from_simplices.cpp +++ b/src/Skeleton_blocker/example/Skeleton_blocker_from_simplices.cpp @@ -35,13 +35,13 @@ int main(int argc, char *argv[]) { Complex complex(Gudhi::skeleton_blocker::make_complex_from_top_faces<Complex>(simplices.begin(), simplices.end())); - std::cout << "Simplices:" << std::endl; + std::clog << "Simplices:" << std::endl; for (const Simplex & s : complex.complex_simplex_range()) - std::cout << s << " "; - std::cout << std::endl; + std::clog << s << " "; + std::clog << std::endl; // One blocker as simplex 0123 is not in the complex but all its proper faces are. - std::cout << "Blockers: " << complex.blockers_to_string() << std::endl; + std::clog << "Blockers: " << complex.blockers_to_string() << std::endl; // now build a complex from its full list of simplices simplices.clear(); @@ -53,13 +53,13 @@ int main(int argc, char *argv[]) { simplices.push_back(Simplex(Vertex_handle(2), Vertex_handle(0))); complex = Complex(simplices.begin(), simplices.end()); - std::cout << "Simplices:" << std::endl; + std::clog << "Simplices:" << std::endl; for (const Simplex & s : complex.complex_simplex_range()) - std::cout << s << " "; - std::cout << std::endl; + std::clog << s << " "; + std::clog << std::endl; // One blocker as simplex 012 is not in the complex but all its proper faces are. - std::cout << "Blockers: " << complex.blockers_to_string() << std::endl; + std::clog << "Blockers: " << complex.blockers_to_string() << std::endl; return EXIT_SUCCESS; } |