summaryrefslogtreecommitdiff
path: root/geom_matching/wasserstein/example/wasserstein_dist_point_cloud.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'geom_matching/wasserstein/example/wasserstein_dist_point_cloud.cpp')
-rw-r--r--geom_matching/wasserstein/example/wasserstein_dist_point_cloud.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/geom_matching/wasserstein/example/wasserstein_dist_point_cloud.cpp b/geom_matching/wasserstein/example/wasserstein_dist_point_cloud.cpp
index 2f9718e..ab7ff4f 100644
--- a/geom_matching/wasserstein/example/wasserstein_dist_point_cloud.cpp
+++ b/geom_matching/wasserstein/example/wasserstein_dist_point_cloud.cpp
@@ -154,7 +154,7 @@ int main(int argc, char* argv[])
params.max_bids_per_round = ( 9 <= argc ) ? atoi(argv[8]) : 0;
if (params.max_bids_per_round == 0)
- params.max_bids_per_round = std::numeric_limits<size_t>::max();
+ params.max_bids_per_round = std::numeric_limits<decltype(params.max_bids_per_round)>::max();
params.gamma_threshold = (10 <= argc) ? atof(argv[9]) : 0.0;