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

gitdub at mlpack.org gitdub at mlpack.org
Sun Jun 5 11:08:33 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/1f562a1aba7ae55475afcc95659511c2b7f694e5...5b8fdce471328f722fcd8c0f22a6d995ce22c98b

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

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