- hypName = anHyp->GetName();
- vector<string>::iterator ith = find(_compatibleHypothesis.begin(),
- _compatibleHypothesis.end(),
- hypName);
- if (ith != _compatibleHypothesis.end()) // count only relevant
- {
- _appliedHypList.push_back(anHyp);
- //SCRUTE(hypName);
- }
+ const SMESHDS_Hypothesis *anHyp = *it;
+ hypType = anHyp->GetType();
+ //SCRUTE(hypType);
+ if (hypType == SMESHDS_Hypothesis::PARAM_ALGO)
+ {
+ hypName = anHyp->GetName();
+ vector < string >::iterator ith =
+ find(_compatibleHypothesis.begin(), _compatibleHypothesis.end(),
+ hypName);
+ if (ith != _compatibleHypothesis.end()) // count only relevant
+ {
+ _appliedHypList.push_back(anHyp);
+ //SCRUTE(hypName);
+ }
+ }
+ it++;