Skip to content

Commit

Permalink
revert GsfActor.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger committed Sep 4, 2024
1 parent 741c4a2 commit 69aef36
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Core/include/Acts/TrackFitting/detail/GsfActor.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of the Acts project.
//
// Copyright (C) 2022-2024 CERN for the benefit of the Acts project
// Copyright (C) 2022 CERN for the benefit of the Acts project
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down Expand Up @@ -28,7 +28,6 @@
#include <ios>
#include <map>
#include <numeric>
#include <ranges>

namespace Acts::detail {

Expand Down Expand Up @@ -190,9 +189,9 @@ struct GsfActor {
// that currentSurface is nullptr and all components are "on surface" (e.g.,
// for surfaces excluded from the navigation)
using Status [[maybe_unused]] = Acts::Intersection3D::Status;
assert(std::ranges::all_of(stepperComponents, [](const auto& cmp) {
return cmp.status() == Status::onSurface;
}));
assert(std::all_of(
stepperComponents.begin(), stepperComponents.end(),
[](const auto& cmp) { return cmp.status() == Status::onSurface; }));

// Early return if we already were on this surface TODO why is this
// necessary
Expand Down

0 comments on commit 69aef36

Please sign in to comment.