Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
attcs committed Jan 19, 2025
1 parent 76afe6d commit bfba1ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions benchmarks/automatic/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ namespace
using NodeID = typename TreePointND<DIMENSION_NO>::MortonNodeID;
std::vector<NodeID> entityIDs;
for (auto const& point : points)
entityIDs.emplace_back(tree.GetNodeID(points[0]));
entityIDs.emplace_back(tree.GetNodeID(point));

std::vector<depth_t> depthIDs(entityNo);
for (auto _ : state)
Expand Down Expand Up @@ -122,7 +122,6 @@ namespace
auto boxSpace = BoundingBoxND<DIMENSION_NO>{};
boxSpace.Max.fill(rMax);

using NodeID = typename TreePointND<DIMENSION_NO>::MortonNodeID;
for (auto _ : state)
{
auto tree = TreePointND<DIMENSION_NO>();
Expand Down

0 comments on commit bfba1ab

Please sign in to comment.