summaryrefslogtreecommitdiff
path: root/geom_matching/wasserstein/include/auction_runner_gs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'geom_matching/wasserstein/include/auction_runner_gs.hpp')
-rw-r--r--geom_matching/wasserstein/include/auction_runner_gs.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/geom_matching/wasserstein/include/auction_runner_gs.hpp b/geom_matching/wasserstein/include/auction_runner_gs.hpp
index 960c707..141cb2c 100644
--- a/geom_matching/wasserstein/include/auction_runner_gs.hpp
+++ b/geom_matching/wasserstein/include/auction_runner_gs.hpp
@@ -287,6 +287,7 @@ void AuctionRunnerGS<R, AO, PC>::run_auction()
if (num_bidders == 1) {
assign_item_to_bidder(0, 0);
wasserstein_cost = get_item_bidder_cost(0,0);
+ is_distance_computed = true;
return;
}