Skip to content

Commit

Permalink
two small clang-tidy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Aug 1, 2024
1 parent 9f86a0b commit 591d5ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Core/include/Acts/Utilities/BoundingBox.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ box_t* octree_inner(std::vector<std::unique_ptr<box_t>>& store,
const std::vector<box_t*>& lprims, std::size_t depth) {
using VertexType = typename box_t::VertexType;

assert(lprims.size() > 0);
assert(!lprims.empty());
if (lprims.size() == 1) {
// just return
return lprims.front();
Expand Down
2 changes: 1 addition & 1 deletion Examples/Io/Root/src/RootAthenaDumpReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ ActsExamples::ProcessCode ActsExamples::RootAthenaDumpReader::read(
} else {
digiPars.values = {CLloc_direction1[im]};
digiPars.indices = {Acts::eBoundLoc0};
assert(locCov.size() >= 1);
assert(!locCov.empty());
digiPars.variances = {locCov[0]};
}

Expand Down

0 comments on commit 591d5ab

Please sign in to comment.