[mlpack-git] master: Fix name of parameter. (8e740b0)

gitdub at mlpack.org gitdub at mlpack.org
Tue Jun 28 17:06:55 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/6ffa3488be70150fa3e787d8bf928c023edbc201...8e740b02eb97c874bbc9b141d9928644bdba7c6b

>---------------------------------------------------------------

commit 8e740b02eb97c874bbc9b141d9928644bdba7c6b
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue Jun 28 17:06:55 2016 -0400

    Fix name of parameter.


>---------------------------------------------------------------

8e740b02eb97c874bbc9b141d9928644bdba7c6b
 src/mlpack/methods/preprocess/preprocess_split_main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/methods/preprocess/preprocess_split_main.cpp b/src/mlpack/methods/preprocess/preprocess_split_main.cpp
index 3c47c98..ca96411 100644
--- a/src/mlpack/methods/preprocess/preprocess_split_main.cpp
+++ b/src/mlpack/methods/preprocess/preprocess_split_main.cpp
@@ -68,7 +68,7 @@ int main(int argc, char** argv)
   const double testRatio = CLI::GetParam<double>("test_ratio");
 
   // Check on label parameters.
-  if (CLI::HasParam("input_labels"))
+  if (CLI::HasParam("input_labels_file"))
   {
     if (!CLI::HasParam("training_labels_file"))
     {




More information about the mlpack-git mailing list