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/example/sliced_wasserstein.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/example/sliced_wasserstein.cpp')
-rw-r--r-- | src/Persistence_representations/example/sliced_wasserstein.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Persistence_representations/example/sliced_wasserstein.cpp b/src/Persistence_representations/example/sliced_wasserstein.cpp index d5414d00..d4e31ebf 100644 --- a/src/Persistence_representations/example/sliced_wasserstein.cpp +++ b/src/Persistence_representations/example/sliced_wasserstein.cpp @@ -38,10 +38,10 @@ int main(int argc, char** argv) { SW swex1(persistence1, 1, -1); SW swex2(persistence2, 1, -1); - std::cout << "Approx SW kernel: " << sw1.compute_scalar_product(sw2) << std::endl; - std::cout << "Exact SW kernel: " << swex1.compute_scalar_product(swex2) << std::endl; - std::cout << "Distance induced by approx SW kernel: " << sw1.distance(sw2) << std::endl; - std::cout << "Distance induced by exact SW kernel: " << swex1.distance(swex2) << std::endl; + std::clog << "Approx SW kernel: " << sw1.compute_scalar_product(sw2) << std::endl; + std::clog << "Exact SW kernel: " << swex1.compute_scalar_product(swex2) << std::endl; + std::clog << "Distance induced by approx SW kernel: " << sw1.distance(sw2) << std::endl; + std::clog << "Distance induced by exact SW kernel: " << swex1.distance(swex2) << std::endl; return 0; } |