[opengm] 287/386: removed redundant print info
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:38:12 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 b6a5d0d3893598a43dbc30876d225455c5496e09
Author: Janez Ales <janez.ales at iwr.uni-heidelberg.de>
Date: Thu Nov 5 15:37:49 2015 +0100
removed redundant print info
---
include/opengm/datastructures/marray/marray.hxx | 1 -
include/opengm/learning/bundle-optimizer.hxx | 5 +----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/include/opengm/datastructures/marray/marray.hxx b/include/opengm/datastructures/marray/marray.hxx
index 7871e7e..0c91d2f 100644
--- a/include/opengm/datastructures/marray/marray.hxx
+++ b/include/opengm/datastructures/marray/marray.hxx
@@ -15,7 +15,6 @@
#include <iostream> // cout
#include <memory> // allocator
#include <numeric> // accumulate
-#include <typeinfo>
/// Runtime-flexible multi-dimensional views and arrays
namespace marray {
diff --git a/include/opengm/learning/bundle-optimizer.hxx b/include/opengm/learning/bundle-optimizer.hxx
index 9f7c094..4642d71 100644
--- a/include/opengm/learning/bundle-optimizer.hxx
+++ b/include/opengm/learning/bundle-optimizer.hxx
@@ -157,7 +157,7 @@ BundleOptimizer<T>::optimize(Oracle& oracle, Weights& w) {
t++;
- std::cout << std::endl << "-----------------------------------------------------------------------------> iteration " << t << std::endl;
+ std::cout << std::endl << "----------------- iteration " << t << std::endl;
Weights w_tm1 = w;
@@ -213,9 +213,6 @@ BundleOptimizer<T>::optimize(Oracle& oracle, Weights& w) {
std::cout << " w* of ℒ(w) + ½λ|w|² is: (";
for(size_t i=0; i<w.size(); ++i)
std::cout << w[i] << " ";
- std::cout << ") normalized: (";
- for(size_t i=0; i<w.size(); ++i)
- std::cout << w[i]/norm << " ";
std::cout << ")" << std::endl;
// compute gap
--
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