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/Persistence_representations/utilities/persistence_landscapes_on_grid/create_landscapes_on_grid.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/Persistence_representations/utilities/persistence_landscapes_on_grid/create_landscapes_on_grid.cpp')
-rw-r--r-- | src/Persistence_representations/utilities/persistence_landscapes_on_grid/create_landscapes_on_grid.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Persistence_representations/utilities/persistence_landscapes_on_grid/create_landscapes_on_grid.cpp b/src/Persistence_representations/utilities/persistence_landscapes_on_grid/create_landscapes_on_grid.cpp index d510c3df..788313c4 100644 --- a/src/Persistence_representations/utilities/persistence_landscapes_on_grid/create_landscapes_on_grid.cpp +++ b/src/Persistence_representations/utilities/persistence_landscapes_on_grid/create_landscapes_on_grid.cpp @@ -18,7 +18,7 @@ using Persistence_landscape_on_grid = Gudhi::Persistence_representations::Persistence_landscape_on_grid; int main(int argc, char** argv) { - std::cout << "This program creates persistence landscapes on grid files (*.g_land) of persistence diagrams files " + std::clog << "This program creates persistence landscapes on grid files (*.g_land) of persistence diagrams files " << "(*.pers) provided as an input.\n" << "The first parameter of a program is an integer, a size of a grid.\n" << "The second and third parameters are min and max of the grid. If you want those numbers to be computed " @@ -32,7 +32,7 @@ int main(int argc, char** argv) { << "The remaining parameters are the names of files with persistence diagrams. \n"; if (argc < 6) { - std::cout << "Wrong parameter list, the program will now terminate \n"; + std::clog << "Wrong parameter list, the program will now terminate \n"; return 1; } @@ -51,7 +51,7 @@ int main(int argc, char** argv) { } for (size_t i = 0; i != filenames.size(); ++i) { - std::cout << "Creating persistence landscape on a grid based on a file : " << filenames[i] << std::endl; + std::clog << "Creating persistence landscape on a grid based on a file : " << filenames[i] << std::endl; Persistence_landscape_on_grid l; if ((min_ != -1) || (max_ != -1)) { l = Persistence_landscape_on_grid(filenames[i], min_, max_, size_of_grid, dimension); |