[mlpack] 06/11: PARAM_INT_OUT() should be an output parameter...

Barak A. Pearlmutter barak+git at pearlmutter.net
Thu Aug 31 13:19:50 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 f77fe9524e56adf4d1c47e4a316be6706fc75da0
Author: Ryan Curtin <ryan at ratml.org>
Date:   Fri Aug 25 20:03:13 2017 -0400

    PARAM_INT_OUT() should be an output parameter...
---
 src/mlpack/core/util/param.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/core/util/param.hpp b/src/mlpack/core/util/param.hpp
index c44e464..1dcd3be 100644
--- a/src/mlpack/core/util/param.hpp
+++ b/src/mlpack/core/util/param.hpp
@@ -107,7 +107,7 @@
  * https://github.com/mlpack/mlpack/issues/100 for more information.
  */
 #define PARAM_INT_OUT(ID, DESC) \
-    PARAM_IN(int, ID, DESC, "", 0, false)
+    PARAM_OUT(int, ID, DESC, "", 0, false)
 
 /**
  * Define a double input parameter.

-- 
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