summaryrefslogtreecommitdiff
path: root/geom_matching/wasserstein/example
diff options
context:
space:
mode:
authorArnur Nigmetov <a.nigmetov@gmail.com>2018-05-31 23:42:22 +0200
committerArnur Nigmetov <a.nigmetov@gmail.com>2018-05-31 23:42:22 +0200
commitc563d463ffce73b070b35e62baf980d19d0bc4ac (patch)
tree94712f7d2b7f618166b3021dfa3b03930739c945 /geom_matching/wasserstein/example
parent8ffc1482c88fd1c503524f6e328f69fe3fdede6c (diff)
2 bugs fixed in Jacobi for point cloud
Diffstat (limited to 'geom_matching/wasserstein/example')
-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 6f699a4..2f9718e 100644
--- a/geom_matching/wasserstein/example/wasserstein_dist_point_cloud.cpp
+++ b/geom_matching/wasserstein/example/wasserstein_dist_point_cloud.cpp
@@ -35,6 +35,7 @@ derivative works thereof, in binary and source code form.
int main(int argc, char* argv[])
{
+
//{
//int n_points = 3;
//int dim = 3;
@@ -106,7 +107,6 @@ int main(int argc, char* argv[])
params.dim = dimension_A;
-
params.wasserstein_power = (4 <= argc) ? atof(argv[3]) : 1.0;
if (params.wasserstein_power < 1.0) {
std::cerr << "The third argument (wasserstein_degree) was \"" << argv[3] << "\", must be a number >= 1.0. Cannot proceed. " << std::endl;