Skip to content

Commit

Permalink
revert file
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitra97 committed Nov 9, 2023
1 parent ca410ae commit 97ae20f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Core/include/Acts/Navigation/MultiLayerSurfacesUpdator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ class MultiLayerSurfacesUpdatorImpl : public INavigationDelegate {
MultiLayerSurfacesUpdatorImpl() = delete;

void update(const GeometryContext& gctx, NavigationState& nState) const {

auto step = std::sqrt(std::pow(grid.binWidth()[0], 2) +
std::pow(grid.binWidth()[1], 2));
auto path = pgenerator(nState.position, nState.direction, step,
Expand Down Expand Up @@ -126,11 +125,10 @@ struct PathGridSurfacesGenerator {
std::size_t numberOfSteps) const {
std::vector<Vector3> pathCoordinates = {};
pathCoordinates.reserve(numberOfSteps);

auto tposition = std::move(startPosition);
auto stepSizeY = stepSize * sin(Acts::VectorHelpers::phi(direction));
auto stepSizeX = stepSize * cos(Acts::VectorHelpers::phi(direction));


for (std::size_t i = 0; i < numberOfSteps; i++) {
pathCoordinates.push_back(tposition);
Expand Down

0 comments on commit 97ae20f

Please sign in to comment.