[mlpack-git] master: Fix misspelled parameter name. (4cec0a3)

gitdub at mlpack.org gitdub at mlpack.org
Wed Jul 13 13:41:28 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/59bc0b32630a3ad786706993f4d5e8b087f1c702...0d9a0e263a32b99d8dcf5d2723b3b92c67e669fc

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

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

    Fix misspelled parameter name.


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

4cec0a365d223b7f045288097c3472da9dce5064
 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 ccb30d3..fac28b5 100644
--- a/src/mlpack/methods/neighbor_search/kfn_main.cpp
+++ b/src/mlpack/methods/neighbor_search/kfn_main.cpp
@@ -275,7 +275,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