From 83ea01d4bb598de334cd65691becd2103efe3ee3 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Wed, 5 Mar 2014 18:36:00 +0000 Subject: [PATCH] Actually use the right parameter name. --- 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 94dc943d5a..f79c78bdf3 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("training_set_estimate_file") != "") + if (CLI::GetParam("training_set_estimates_file") != "") { - fp = fopen(CLI::GetParam("training_set_estimate_file").c_str(), + fp = fopen(CLI::GetParam("training_set_estimates_file").c_str(), "w"); // Compute density estimates for each point in the training set.