[opengm] 99/386: removed debug code from gradient-accumulator

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:35:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository opengm.

commit a1ee674d193729c7e9ca3a206c249f522bea3e5e
Author: Jan Funke <funke at ini.ch>
Date:   Wed Dec 17 14:48:08 2014 +0100

    removed debug code from gradient-accumulator
---
 include/opengm/learning/gradient-accumulator.hxx | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/opengm/learning/gradient-accumulator.hxx b/include/opengm/learning/gradient-accumulator.hxx
index f702aeb..746718c 100644
--- a/include/opengm/learning/gradient-accumulator.hxx
+++ b/include/opengm/learning/gradient-accumulator.hxx
@@ -53,16 +53,12 @@ public:
 		for (Iterator j = begin; j != end; j++)
 			localConfiguration.push_back(_configuration[*j]);
 
-		std::cout << "asking a function for gradient with configuration " << localConfiguration << std::endl;
-
 		for (int i = 0; i < function.numberOfWeights(); i++) {
 
 			int index = function.weightIndex(i);
 
 			double g = function.weightGradient(i, localConfiguration.begin());
 
-			std::cout << "gradient for weight " << index << " is " << g << std::endl;
-
 			if (_mode == Add)
 				_gradient[index] += g;
 			else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opengm.git



More information about the debian-science-commits mailing list