[mlpack-git] master, mlpack-1.0.x: Actually use the right parameter name. (83ea01d)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:45:03 EST 2015


Repository : https://github.com/mlpack/mlpack

On branches: master,mlpack-1.0.x
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

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

commit 83ea01d4bb598de334cd65691becd2103efe3ee3
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Mar 5 18:36:00 2014 +0000

    Actually use the right parameter name.


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

83ea01d4bb598de334cd65691becd2103efe3ee3
 src/mlpack/methods/det/det_main.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/methods/det/det_main.cpp b/src/mlpack/methods/det/det_main.cpp
index 94dc943..f79c78b 100644
--- a/src/mlpack/methods/det/det_main.cpp
+++ b/src/mlpack/methods/det/det_main.cpp
@@ -108,9 +108,9 @@ int main(int argc, char *argv[])
   // Compute densities for the training points in the optimal tree.
   FILE *fp = NULL;
 
-  if (CLI::GetParam<string>("training_set_estimate_file") != "")
+  if (CLI::GetParam<string>("training_set_estimates_file") != "")
   {
-    fp = fopen(CLI::GetParam<string>("training_set_estimate_file").c_str(),
+    fp = fopen(CLI::GetParam<string>("training_set_estimates_file").c_str(),
         "w");
 
     // Compute density estimates for each point in the training set.



More information about the mlpack-git mailing list