[mlpack-git] master: Remove unused output parameter. (f1bf339)

gitdub at mlpack.org gitdub at mlpack.org
Fri May 20 18:29:47 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/989dd35359ee0c2258616ea57675f639ff47bfaa...39eefded8c6e4edd95c5b0c8110adf8d5aba24be

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

commit f1bf339c3e12e1ebba1db1fa64036b58632e5a9d
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date:   Sat May 21 00:29:47 2016 +0200

    Remove unused output parameter.


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

f1bf339c3e12e1ebba1db1fa64036b58632e5a9d
 src/mlpack/methods/ann/layer/vr_class_reward_layer.hpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mlpack/methods/ann/layer/vr_class_reward_layer.hpp b/src/mlpack/methods/ann/layer/vr_class_reward_layer.hpp
index 9b1451c..09e55b5 100644
--- a/src/mlpack/methods/ann/layer/vr_class_reward_layer.hpp
+++ b/src/mlpack/methods/ann/layer/vr_class_reward_layer.hpp
@@ -70,7 +70,6 @@ class VRClassRewardLayer
   template<typename eT>
   double Forward(const arma::Mat<eT>& input, const arma::Mat<eT>& target)
   {
-    double output = 0;
     reward = 0;
     arma::uword index;
 




More information about the mlpack-git mailing list