Skip to content
Snippets Groups Projects
Commit 8ec0820f authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Update to commit e7866c4 in hpp-core.

parent 400830fe
No related branches found
No related tags found
No related merge requests found
...@@ -153,9 +153,14 @@ namespace hpp { ...@@ -153,9 +153,14 @@ namespace hpp {
void LeafHistogram::add (const core::NodePtr_t& n) void LeafHistogram::add (const core::NodePtr_t& n)
{ {
iterator it = insert iterator it;
(LeafBin (constraint_->configProjector ()->rightHandSideFromConfig if (constraint_->configProjector ()) {
(*n->configuration ()))); it = insert
(LeafBin (constraint_->configProjector ()->rightHandSideFromConfig
(*n->configuration ())));
} else {
it = insert (LeafBin (vector_t (0)));
}
it->push_back (n); it->push_back (n);
if (numberOfObservations()%10 == 0) { if (numberOfObservations()%10 == 0) {
hppDout (info, *this); hppDout (info, *this);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment