Skip to content

Commit

Permalink
fix: remove possible wrong function in binUtility (#2666)
Browse files Browse the repository at this point in the history
The code is imported and so old, that we don't know what the function should really do -> remove.

resolves #2622
  • Loading branch information
AJPfleger authored Nov 24, 2023
1 parent ecb139f commit a1c697c
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Core/include/Acts/Utilities/BinUtility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,21 +228,6 @@ class BinUtility {
return true;
}

/// Check if bin is inside from Vector2 - no optional transform applied
///
/// @param lposition is the local position to be evaluated
/// @return is a boolean check
bool inside(const Vector2& lposition) const {
return true;
std::vector<BinningData>::const_iterator bdIter = m_binningData.begin();
for (; bdIter != m_binningData.end(); ++bdIter) {
if (!(*bdIter).inside(lposition)) {
return false;
}
}
return true;
}

/// First bin maximal value
/// @return the dimension of the binning data
std::size_t dimensions() const { return m_binningData.size(); }
Expand Down

0 comments on commit a1c697c

Please sign in to comment.