Skip to content

Commit

Permalink
Minutiae were not erased from container
Browse files Browse the repository at this point in the history
  • Loading branch information
gfiumara committed Oct 7, 2024
1 parent 9f36d62 commit e09966d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libbiomeval/be_data_interchange_finger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ BiometricEvaluation::DataInterchange::Finger::ANSI2004ToISOCard2011(
(1.0 / (resolution.yRes / 100.0)));

/* Remove minutia that cannot be represented in on-card */
std::remove_if(minutia.begin(), minutia.end(),
minutia.erase(std::remove_if(minutia.begin(), minutia.end(),
[&](BE::Feature::MinutiaPoint &m) {
return ((m.coordinate.x > maxX) ||
(m.coordinate.y > maxY));
});
}), minutia.end());
}
if (minutia.size() < minimumMinutia)
throw BE::Error::StrategyError("Too few minutiae");
Expand Down

0 comments on commit e09966d

Please sign in to comment.