Skip to content

Commit

Permalink
remove featurename.find(";") check
Browse files Browse the repository at this point in the history
  • Loading branch information
anilbey committed Oct 20, 2023
1 parent e0f988e commit c4d80fd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions efel/cppcore/cfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,10 +623,6 @@ double cFeature::getDistance(string strName, double mean, double std,
}

string cFeature::featuretype(string featurename) {
int npos = featurename.find(";");
if (npos != string::npos) {
featurename = featurename.substr(0, npos);
}
if (featurename == "__test_efel_assertion__") // for testing only
throw EfelAssertionError("Test efel assertion is successfully triggered.");
string type = featuretypes[featurename];
Expand Down

0 comments on commit c4d80fd

Please sign in to comment.