Commit ebaa1257 authored by Christian Kastner's avatar Christian Kastner

d/patches: Trivial metadata refresh by gbp-pq

parent 1a5f18df
From: Christian Kastner <debian@kvr.at>
Date: Mon, 11 Apr 2011 21:04:23 +0200
Subject: [PATCH] Correct command name in help
Subject: Correct command name in help
mpi_kmeans accidentally speaks about mpi_assign a few times
Forwarded: no
Last-Update: 2011-04-11
---
mpi_kmeans_main.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Index: mpikmeans-1.5/mpi_kmeans_main.cxx
===================================================================
--- mpikmeans-1.5.orig/mpi_kmeans_main.cxx 2011-04-11 21:02:39.596001579 +0200
+++ mpikmeans-1.5/mpi_kmeans_main.cxx 2011-04-11 21:03:22.824011767 +0200
@@ -101,7 +101,7 @@
diff --git a/mpi_kmeans_main.cxx b/mpi_kmeans_main.cxx
index 545af92..da81b9a 100644
--- a/mpi_kmeans_main.cxx
+++ b/mpi_kmeans_main.cxx
@@ -101,7 +101,7 @@ static int read_problem_data(const std::string& train_filename,
if (in.fail()) {
std::cerr << "Failed to open file \""
<< train_filename << "\" for reading." << std::endl;
......@@ -20,7 +23,7 @@ Index: mpikmeans-1.5/mpi_kmeans_main.cxx
exit(EXIT_FAILURE);
}
@@ -134,7 +134,7 @@
@@ -134,7 +134,7 @@ static int read_problem_data(const std::string& train_filename,
if (data_X.size() == 0) {
std::cerr << "No points read from file \"" << train_filename
<< "\"" << std::endl;
......@@ -29,7 +32,7 @@ Index: mpikmeans-1.5/mpi_kmeans_main.cxx
exit(EXIT_FAILURE);
}
@@ -149,7 +149,7 @@
@@ -149,7 +149,7 @@ static int read_problem_data(const std::string& train_filename,
if (in.fail()) {
std::cerr << "Failed to open file \""
<< train_filename << "\" for reading." << std::endl;
......@@ -38,7 +41,7 @@ Index: mpikmeans-1.5/mpi_kmeans_main.cxx
exit(EXIT_FAILURE);
}
@@ -157,7 +157,7 @@
@@ -157,7 +157,7 @@ static int read_problem_data(const std::string& train_filename,
if (nof_points == 0) {
std::cerr << "No points read from file \"" << train_filename
<< "\"" << std::endl;
......
From: Christian Kastner <debian@kvr.at>
Date: Mon, 11 Apr 2011 19:31:14 +0200
Subject: [PATCH] Drop unused option
Subject: Drop unused option
Upstream's binaries say they support a run-time "verbose" option, but they
don't -- it's a compile-time option. Drop these to avoid confusion.
Forwarded: no
Last-Update: 2011-04-11
---
mpi_assign_main.cxx | 3 ---
mpi_kmeans_main.cxx | 3 ---
2 files changed, 6 deletions(-)
Index: mpikmeans-1.5/mpi_assign_main.cxx
===================================================================
--- mpikmeans-1.5.orig/mpi_assign_main.cxx 2011-04-11 19:49:28.420001563 +0200
+++ mpikmeans-1.5/mpi_assign_main.cxx 2011-04-11 19:49:36.180001563 +0200
@@ -102,7 +102,6 @@
diff --git a/mpi_assign_main.cxx b/mpi_assign_main.cxx
index 60c63c7..f01723f 100644
--- a/mpi_assign_main.cxx
+++ b/mpi_assign_main.cxx
@@ -102,7 +102,6 @@ int main(int argc, char* argv[]) {
po::options_description generic("Generic Options");
generic.add_options()
("help","Produce help message")
......@@ -20,7 +24,7 @@ Index: mpikmeans-1.5/mpi_assign_main.cxx
;
po::options_description input_options("Input/Output Options");
@@ -124,8 +123,6 @@
@@ -124,8 +123,6 @@ int main(int argc, char* argv[]) {
po::store(po::command_line_parser(argc,argv).options(all_options).run(), vm);
po::notify(vm);
......@@ -29,11 +33,11 @@ Index: mpikmeans-1.5/mpi_assign_main.cxx
if (vm.count("help")) {
std::cerr << "Assigning points to cluster center" << std::endl;
std::cerr << all_options << std::endl;
Index: mpikmeans-1.5/mpi_kmeans_main.cxx
===================================================================
--- mpikmeans-1.5.orig/mpi_kmeans_main.cxx 2011-04-11 19:49:28.468001563 +0200
+++ mpikmeans-1.5/mpi_kmeans_main.cxx 2011-04-11 19:49:36.180001563 +0200
@@ -212,7 +212,6 @@
diff --git a/mpi_kmeans_main.cxx b/mpi_kmeans_main.cxx
index 896cadb..545af92 100644
--- a/mpi_kmeans_main.cxx
+++ b/mpi_kmeans_main.cxx
@@ -212,7 +212,6 @@ int main(int argc, char* argv[]) {
po::options_description generic("Generic Options");
generic.add_options()
("help","Produce help message")
......@@ -41,7 +45,7 @@ Index: mpikmeans-1.5/mpi_kmeans_main.cxx
;
po::options_description input_options("Input/Output Options");
@@ -241,8 +240,6 @@
@@ -241,8 +240,6 @@ int main(int argc, char* argv[]) {
po::store(po::command_line_parser(argc,argv).options(all_options).run(), vm);
po::notify(vm);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment