[mlpack-svn] r16347 - mlpack/trunk/src/mlpack/methods/det

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Mar 5 13:36:00 EST 2014


Author: rcurtin
Date: Wed Mar  5 13:36:00 2014
New Revision: 16347

Log:
Actually use the right parameter name.


Modified:
   mlpack/trunk/src/mlpack/methods/det/det_main.cpp

Modified: mlpack/trunk/src/mlpack/methods/det/det_main.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/methods/det/det_main.cpp	(original)
+++ mlpack/trunk/src/mlpack/methods/det/det_main.cpp	Wed Mar  5 13:36:00 2014
@@ -108,9 +108,9 @@
   // 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-svn mailing list