[mlpack-git] mlpack-2.0.x: Fix misspelled parameter name. (2212984)

gitdub at mlpack.org gitdub at mlpack.org
Wed Jul 20 15:31:29 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : mlpack-2.0.x
Link       : https://github.com/mlpack/mlpack/compare/e434bc4ac042534529a2a440a44d86935b4d7164...fc4195d27bb9e642356a384d1fa6fe10cbdf89a6

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

commit 2212984a648d3a0d6a0ea9a5d5ab64c045157358
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Jul 13 13:41:28 2016 -0400

    Fix misspelled parameter name.


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

2212984a648d3a0d6a0ea9a5d5ab64c045157358
 src/mlpack/methods/neighbor_search/kfn_main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/methods/neighbor_search/kfn_main.cpp b/src/mlpack/methods/neighbor_search/kfn_main.cpp
index 9f6ba65..6f70ec1 100644
--- a/src/mlpack/methods/neighbor_search/kfn_main.cpp
+++ b/src/mlpack/methods/neighbor_search/kfn_main.cpp
@@ -247,7 +247,7 @@ int main(int argc, char *argv[])
 
   if (CLI::HasParam("output_model_file"))
   {
-    const string outputModelFile = CLI::GetParam<string>("output_model_File");
+    const string outputModelFile = CLI::GetParam<string>("output_model_file");
     data::Save(outputModelFile, "kfn_model", kfn);
   }
 }




More information about the mlpack-git mailing list