[mlpack] 01/05: Fix typo that caused bug #1007.

Barak A. Pearlmutter barak+git at pearlmutter.net
Mon May 29 12:59:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository mlpack.

commit c483c38da5ef8c1d19fa6f3ade56c093b78d221a
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed May 24 09:49:09 2017 -0400

    Fix typo that caused bug #1007.
---
 src/mlpack/methods/decision_tree/decision_tree_main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/methods/decision_tree/decision_tree_main.cpp b/src/mlpack/methods/decision_tree/decision_tree_main.cpp
index 7977266..8b759dc 100644
--- a/src/mlpack/methods/decision_tree/decision_tree_main.cpp
+++ b/src/mlpack/methods/decision_tree/decision_tree_main.cpp
@@ -204,7 +204,7 @@ int main(int argc, char** argv)
 
     // Do we need to save outputs?
     if (CLI::HasParam("predictions_file"))
-      data::Save(CLI::GetParam<std::string>("prediction_file"), predictions);
+      data::Save(CLI::GetParam<std::string>("predictions_file"), predictions);
     if (CLI::HasParam("probabilities_file"))
       data::Save(CLI::GetParam<std::string>("probabilities_file"),
           probabilities);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list