Skip to content
Snippets Groups Projects
Commit 0da76c69 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Fix stateAIncludedInStateB

parent 9a6abfb3
No related branches found
No related tags found
No related merge requests found
...@@ -41,9 +41,9 @@ namespace hpp { ...@@ -41,9 +41,9 @@ namespace hpp {
{ {
const NumericalConstraints_t& Ancs = A->numericalConstraints(); const NumericalConstraints_t& Ancs = A->numericalConstraints();
const NumericalConstraints_t& Bncs = B->numericalConstraints(); const NumericalConstraints_t& Bncs = B->numericalConstraints();
for (NumericalConstraints_t::const_iterator _nc = Ancs.begin(); for (NumericalConstraints_t::const_iterator _nc = Bncs.begin();
_nc != Ancs.end(); ++_nc) _nc != Bncs.end(); ++_nc)
if (std::find (Bncs.begin(), Bncs.end(), *_nc) == Bncs.end()) if (std::find (Ancs.begin(), Ancs.end(), *_nc) == Ancs.end())
return false; return false;
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment