[mlpack-git] master: Fix incorrect variable name. (c998010)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:15:58 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit c998010fbf280f010c495b67af8f4e993d34b4c0
Author: Ryan Curtin <ryan at ratml.org>
Date: Mon Feb 9 11:59:44 2015 -0500
Fix incorrect variable name.
>---------------------------------------------------------------
c998010fbf280f010c495b67af8f4e993d34b4c0
src/mlpack/methods/amf/init_rules/average_init.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mlpack/methods/amf/init_rules/average_init.hpp b/src/mlpack/methods/amf/init_rules/average_init.hpp
index 533c4f4..1cf711c 100644
--- a/src/mlpack/methods/amf/init_rules/average_init.hpp
+++ b/src/mlpack/methods/amf/init_rules/average_init.hpp
@@ -59,7 +59,7 @@ class AverageInitialization
min = *it;
}
- V_avg = sqrt(((avgV / (n * m)) - min) / r);
+ avgV = sqrt(((avgV / (n * m)) - min) / r);
// Intialize to random values.
W.randu(n, r);
More information about the mlpack-git
mailing list