@@ -171,8 +171,8 @@ namespace
171171
172172 size_t entityNo = state.range ();
173173
174- auto const points = GeneratePointsRandom<DIMENSION_NO>(entityNo * 10 );
175- auto const updatePoints = GeneratePointsRandom<DIMENSION_NO>(entityNo);
174+ auto const points = GeneratePointsRandom<DIMENSION_NO>(entityNo * 100 , 0 );
175+ auto const updatePoints = GeneratePointsRandom<DIMENSION_NO>(entityNo, 1 );
176176
177177 auto tree = TreePointND<DIMENSION_NO>(points, depth);
178178 for (auto _ : state)
@@ -233,10 +233,10 @@ namespace
233233
234234 size_t entityNo = state.range ();
235235
236- auto const points = GeneratePointsRandom<DIMENSION_NO>(entityNo);
236+ auto const points = GeneratePointsRandom<DIMENSION_NO>(entityNo, 0 );
237237 auto const tree = TreePointND<DIMENSION_NO>(points, depth);
238238
239- auto const searchPoints = GeneratePointsRandom<DIMENSION_NO>(std::max<std::size_t >(20 , entityNo / 100 ));
239+ auto const searchPoints = GeneratePointsRandom<DIMENSION_NO>(std::max<std::size_t >(20 , entityNo / 100 ), 1 );
240240 auto const pointNo = searchPoints.size ();
241241 size_t pointID = 0 ;
242242 for (auto _ : state)
@@ -349,7 +349,7 @@ namespace
349349
350350 auto const boxSpace = CreateSearcBox<DIMENSION_NO>(0 , rMax);
351351 auto const entities = GenerateBoxesRandom<DIMENSION_NO>(entityNo * 10 );
352- auto const updateEntities = GenerateBoxesRandom<DIMENSION_NO>(entityNo);
352+ auto const updateEntities = GenerateBoxesRandom<DIMENSION_NO>(entityNo, 1 );
353353
354354 auto tree = TreeBoxND<DIMENSION_NO, SPLIT_DEPTH_INCREASEMENT>(entities, depth, boxSpace);
355355
@@ -378,7 +378,7 @@ namespace
378378 auto const tree = TreeBoxND<DIMENSION_NO, SPLIT_DEPTH_INCREASEMENT>(entities, depth, boxSpace);
379379
380380 constexpr size_t pointNo = 100 ;
381- auto const searchPoints = GeneratePointsRandom<DIMENSION_NO>(pointNo);
381+ auto const searchPoints = GeneratePointsRandom<DIMENSION_NO>(pointNo, 1 );
382382
383383 size_t entityID = 0 ;
384384 for (auto _ : state)
@@ -402,7 +402,7 @@ namespace
402402 auto const tree = TreeBoxND<DIMENSION_NO, SPLIT_DEPTH_INCREASEMENT>(entities, depth, boxSpace);
403403
404404 constexpr size_t boxNo = 100 ;
405- auto const searchBoxes = GenerateBoxesRandom<DIMENSION_NO>(boxNo);
405+ auto const searchBoxes = GenerateBoxesRandom<DIMENSION_NO>(boxNo, 1 );
406406
407407 size_t entityID = 0 ;
408408 for (auto _ : state)
@@ -462,8 +462,8 @@ namespace
462462 constexpr depth_t depth = 5 ;
463463
464464 size_t entityNo = state.range ();
465- auto const entities0 = GenerateBoxesRandom<DIMENSION_NO>(entityNo);
466- auto const entities1 = GenerateBoxesRandom<DIMENSION_NO>(entityNo);
465+ auto const entities0 = GenerateBoxesRandom<DIMENSION_NO>(entityNo, 0 );
466+ auto const entities1 = GenerateBoxesRandom<DIMENSION_NO>(entityNo, 1 );
467467 auto const boxSpace = CreateSearcBox<DIMENSION_NO>(0 , rMax);
468468 auto const tree0 = TreeBoxND<DIMENSION_NO, SPLIT_DEPTH_INCREASEMENT>(entities0, depth, boxSpace);
469469 auto const tree1 = TreeBoxND<DIMENSION_NO, SPLIT_DEPTH_INCREASEMENT>(entities1, depth, boxSpace);
@@ -513,8 +513,8 @@ namespace
513513 auto const tree = TreeBoxND<DIMENSION_NO, SPLIT_DEPTH_INCREASEMENT>(entities, depth, boxSpace);
514514
515515 size_t constexpr rayNo = 100 ;
516- auto const rayOrigins = GeneratePointsRandom<DIMENSION_NO>(rayNo);
517- auto const rayDirections = GeneratePointsRandom<DIMENSION_NO>(rayNo);
516+ auto const rayOrigins = GeneratePointsRandom<DIMENSION_NO>(rayNo, 0 );
517+ auto const rayDirections = GeneratePointsRandom<DIMENSION_NO>(rayNo, 0 );
518518
519519 auto rays = std::vector<RayND<DIMENSION_NO>>{};
520520 for (size_t rayID = 0 ; rayID < rayNo; ++rayID)
0 commit comments