diff options
author | Gard Spreemann <gspr@nonempty.org> | 2020-05-20 08:46:13 +0200 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2020-05-20 08:46:13 +0200 |
commit | 2e879a40ee1bda90526d87f131b77ed365f3676b (patch) | |
tree | a3da06477fe2e8f3e0aa5c0be16f2eecb5bcaf9d /src/Persistence_representations/utilities/persistence_landscapes/compute_distance_of_landscapes.cpp | |
parent | b521123d85ae166e01c814292370d63856251326 (diff) | |
parent | 9b3079646ee3f6a494b83e864b3e10b8a93597d0 (diff) |
Merge branch 'dfsg/latest' into debian/sid
Diffstat (limited to 'src/Persistence_representations/utilities/persistence_landscapes/compute_distance_of_landscapes.cpp')
-rw-r--r-- | src/Persistence_representations/utilities/persistence_landscapes/compute_distance_of_landscapes.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Persistence_representations/utilities/persistence_landscapes/compute_distance_of_landscapes.cpp b/src/Persistence_representations/utilities/persistence_landscapes/compute_distance_of_landscapes.cpp index 1093c1aa..2246a37d 100644 --- a/src/Persistence_representations/utilities/persistence_landscapes/compute_distance_of_landscapes.cpp +++ b/src/Persistence_representations/utilities/persistence_landscapes/compute_distance_of_landscapes.cpp @@ -18,14 +18,14 @@ using Persistence_landscape = Gudhi::Persistence_representations::Persistence_landscape; int main(int argc, char** argv) { - std::cout << "This program computes distance of persistence landscapes stored in files (the files needs to be " + std::clog << "This program computes distance of persistence landscapes stored in files (the files needs to be " << "created beforehand).\n" << "The first parameter of a program is an integer p. The program compute L^p distance of the two heat " << "maps. For L^infty distance choose p = -1. \n" << "The remaining parameters of this program are names of files with persistence landscapes.\n"; if (argc < 3) { - std::cout << "Wrong number of parameters, the program will now terminate \n"; + std::clog << "Wrong number of parameters, the program will now terminate \n"; return 1; } @@ -68,14 +68,14 @@ int main(int argc, char** argv) { out.open("distance.land"); for (size_t i = 0; i != distance.size(); ++i) { for (size_t j = 0; j != distance.size(); ++j) { - std::cout << distance[i][j] << " "; + std::clog << distance[i][j] << " "; out << distance[i][j] << " "; } - std::cout << std::endl; + std::clog << std::endl; out << std::endl; } out.close(); - std::cout << "Distance can be found in 'distance.land' file\n"; + std::clog << "Distance can be found in 'distance.land' file\n"; return 0; } |