summaryrefslogtreecommitdiff
path: root/wasserstein/example/wasserstein_dist.cpp
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2022-04-29 13:56:44 +0200
committerGard Spreemann <gspr@nonempty.org>2022-04-29 13:56:44 +0200
commit25ecf3d4f7da739ec6a96ae3746498b1ae6e21f3 (patch)
tree4cd624d4380517400b60788ee5dd38b17f50244b /wasserstein/example/wasserstein_dist.cpp
parente43fec46f5279e5d36d8fd5febc0cd5c357773ee (diff)
parentfb4866e1d827389db17d74e5986d848617c8ef72 (diff)
Merge branch 'dfsg/latest' into debian/sid
Diffstat (limited to 'wasserstein/example/wasserstein_dist.cpp')
-rw-r--r--wasserstein/example/wasserstein_dist.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/wasserstein/example/wasserstein_dist.cpp b/wasserstein/example/wasserstein_dist.cpp
index cbe83e2..46f06fc 100644
--- a/wasserstein/example/wasserstein_dist.cpp
+++ b/wasserstein/example/wasserstein_dist.cpp
@@ -33,8 +33,6 @@ derivative works thereof, in binary and source code form.
#include "opts/opts.h"
-//#define LOG_AUCTION
-
//#include "auction_runner_fr.h"
//#include "auction_runner_fr.hpp"
@@ -138,14 +136,7 @@ int main(int argc, char* argv[])
params.max_bids_per_round = std::numeric_limits<decltype(params.max_bids_per_round)>::max();
- std::string log_filename_prefix = ( 11 <= argc ) ? argv[10] : "";
-
-
-#ifdef LOG_AUCTION
- spdlog::set_level(spdlog::level::info);
-#endif
-
- Real res = hera::wasserstein_dist(diagramA, diagramB, params, log_filename_prefix);
+ Real res = hera::wasserstein_dist(diagramA, diagramB, params);
std::cout << std::setprecision(15) << res << std::endl;
if (print_relative_error)