Skip to content
Snippets Groups Projects
Commit 449c36d9 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix operator <<

parent 85750e0d
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,7 @@ namespace hpp {
increment (b);
b.push_back (config);
if (numberOfObservations()%10 == 0) {
hppDoutPrint(info, (*this));
hppDout (info, this);
}
}
......@@ -201,7 +201,7 @@ namespace hpp {
increment (b);
b.push_back (config);
if (numberOfObservations()%10 == 0) {
hppDoutPrint(info, (*this));
hppDout (info, this);
}
}
......@@ -227,8 +227,6 @@ namespace hpp {
};
} // namespace graph
} // namespace manipulation
std::ostream& operator<< (std::ostream& os, const manipulation::graph::LeafHistogram& h);
} // namespace hpp
#endif // HPP_MANIPULATION_GRAPH_STATISTICS_HH
......@@ -16,7 +16,6 @@
#include <hpp/util/assertion.hh>
#include <hpp/core/path-validation.hh>
#include <hpp/statistics/operators.hh>
#include "hpp/manipulation/graph/statistics.hh"
#include "hpp/manipulation/robot.hh"
......@@ -111,8 +110,7 @@ namespace hpp {
addFailure (PROJECTION, edges);
SuccessStatistics& ss = constraint->configProjector ()->statistics ();
if (ss.nbFailure () > ss.nbSuccess ()) {
hppDout (warning, constraint->name () << " fails often.");
hppDoutPrint (warning, ss);
hppDout (warning, constraint->name () << " fails often." << std::endl << ss);
}
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment