Skip to content

Commit

Permalink
Update SensitiveSurfaceMapper.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger authored Sep 3, 2024
1 parent c429376 commit dfec315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/Algorithms/Geant4/src/SensitiveSurfaceMapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ bool ActsExamples::SensitiveSurfaceMapper::checkMapping(
found.push_back(surfacePtr);
}
std::sort(found.begin(), found.end());
found.erase(std::ranges::unique(found), found.end());
found.erase(std::ranges::unique(found).begin(), found.end());

std::vector<const Acts::Surface*> missing;
std::set_difference(allSurfaces.begin(), allSurfaces.end(), found.begin(),
Expand Down

0 comments on commit dfec315

Please sign in to comment.