Skip to content

Commit

Permalink
revert StepperExtensionList
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger committed Sep 10, 2024
1 parent 9a85f65 commit ceb9746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/include/Acts/Propagator/StepperExtensionList.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/TrackParametrization.hpp"
#include "Acts/Propagator/detail/Auctioneer.hpp"
#include "Acts/Utilities/Helpers.hpp"
#include "Acts/Utilities/detail/Extendable.hpp"
#include "Acts/Utilities/detail/MPL/all_of.hpp"
#include "Acts/Utilities/detail/MPL/has_duplicates.hpp"
Expand Down Expand Up @@ -79,7 +78,8 @@ struct StepperExtensionList : private detail::Extendable<extensions...> {

validExtensions = state.stepping.auctioneer(std::move(bids));

return rangeContainsValue(validExtensions, true);
return (std::find(validExtensions.begin(), validExtensions.end(), true) !=
validExtensions.end());
}

/// @brief This functions broadcasts the call for evaluating a generic k. It
Expand Down

0 comments on commit ceb9746

Please sign in to comment.