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

[Edge] Fix mergeConstraintsIntoConfigProjector.

  - remove duplicate loop.
parent 0d81bac3
No related branches found
No related tags found
No related merge requests found
...@@ -241,11 +241,6 @@ namespace hpp { ...@@ -241,11 +241,6 @@ namespace hpp {
NumericalConstraints_t::iterator itnc1, itnc2; NumericalConstraints_t::iterator itnc1, itnc2;
itnc2 = nc.end();
for (itnc1 = nc.begin(); itnc1 != itnc2; ++itnc1)
itnc2 = std::remove(std::next(itnc1), itnc2, *itnc1);
nc.erase(itnc2, nc.end());
// Look for complement // Look for complement
for (itnc1 = nc.begin(); itnc1 != nc.end(); ++itnc1) { for (itnc1 = nc.begin(); itnc1 != nc.end(); ++itnc1) {
const auto& c1 = *itnc1; const auto& c1 = *itnc1;
......
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