[mlpack] 219/324: Initialize reverseStepCount to 0 to avoid memory issues.
Barak A. Pearlmutter
barak+git at cs.nuim.ie
Sun Aug 17 08:22:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch svn-trunk
in repository mlpack.
commit c9f95d5e3b76362ec6a09a1be8e68bb528b323c1
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date: Fri Jul 25 18:51:19 2014 +0000
Initialize reverseStepCount to 0 to avoid memory issues.
git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16861 9d5b8971-822b-0410-80eb-d18c1038ef23
---
.../methods/amf/termination_policies/simple_tolerance_termination.hpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mlpack/methods/amf/termination_policies/simple_tolerance_termination.hpp b/src/mlpack/methods/amf/termination_policies/simple_tolerance_termination.hpp
index 8976c14..15c5369 100644
--- a/src/mlpack/methods/amf/termination_policies/simple_tolerance_termination.hpp
+++ b/src/mlpack/methods/amf/termination_policies/simple_tolerance_termination.hpp
@@ -26,6 +26,7 @@ class SimpleToleranceTermination
residueOld = DBL_MAX;
iteration = 1;
residue = DBL_MIN;
+ reverseStepCount = 0;
this->V = &V;
}
--
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