diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2020-03-22 11:02:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-22 11:02:36 +0100 |
commit | 49f9e5cc6bf933705500ad96d674df6a9df7f713 (patch) | |
tree | 665b6fcbdf6c951d31206852a2d356ef103ada18 /src/Nerve_GIC/example/FuncGIC.cpp | |
parent | 2ec0ac1f006577d520accbe605a61fc10ede3352 (diff) | |
parent | bb6f10aff11e05baec2d2d10c544a2ea1c302bc6 (diff) |
Merge pull request #200 from VincentRouvreau/print_warnings_to_stderr
Print warnings to stderr
Diffstat (limited to 'src/Nerve_GIC/example/FuncGIC.cpp')
-rw-r--r-- | src/Nerve_GIC/example/FuncGIC.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Nerve_GIC/example/FuncGIC.cpp b/src/Nerve_GIC/example/FuncGIC.cpp index 5a323795..518e1826 100644 --- a/src/Nerve_GIC/example/FuncGIC.cpp +++ b/src/Nerve_GIC/example/FuncGIC.cpp @@ -41,7 +41,7 @@ int main(int argc, char **argv) { bool check = GIC.read_point_cloud(off_file_name); if (!check) { - std::cout << "Incorrect OFF file." << std::endl; + std::clog << "Incorrect OFF file." << std::endl; } else { GIC.set_type("GIC"); @@ -65,15 +65,15 @@ int main(int argc, char **argv) { // -------------------------------------------- if (verb) { - std::cout << "Functional GIC is of dimension " << stree.dimension() << " - " << stree.num_simplices() + std::clog << "Functional GIC is of dimension " << stree.dimension() << " - " << stree.num_simplices() << " simplices - " << stree.num_vertices() << " vertices." << std::endl; - std::cout << "Iterator on functional GIC simplices" << std::endl; + std::clog << "Iterator on functional GIC simplices" << std::endl; for (auto f_simplex : stree.filtration_simplex_range()) { for (auto vertex : stree.simplex_vertex_range(f_simplex)) { - std::cout << vertex << " "; + std::clog << vertex << " "; } - std::cout << std::endl; + std::clog << std::endl; } } } |