Skip to content

Commit

Permalink
Fix clang compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
loumalouomega committed Dec 17, 2023
1 parent ba8f15e commit 69aa2ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kratos/spatial_containers/search_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ class KRATOS_API(KRATOS_CORE) SearchWrapper
struct TLS {
Point point;
};
IndexPartition<IndexType>(total_number_of_points).for_each(TLS(),[this, &search_info, &rResults, &Radius, &allocation_size, &rank](std::size_t i_point, TLS& rTLS) {
IndexPartition<IndexType>(total_number_of_points).for_each(TLS(),[this, &search_info, &rResults, &Radius, &allocation_size](std::size_t i_point, TLS& rTLS) {
rTLS.point[0] = search_info.PointCoordinates[i_point * 3 + 0];
rTLS.point[1] = search_info.PointCoordinates[i_point * 3 + 1];
rTLS.point[2] = search_info.PointCoordinates[i_point * 3 + 2];
Expand Down Expand Up @@ -694,7 +694,7 @@ class KRATOS_API(KRATOS_CORE) SearchWrapper
struct TLS {
Point point;
};
IndexPartition<IndexType>(total_number_of_points).for_each(TLS(),[this, &search_info, &rResults, &Radius, &allocation_size, &rank](std::size_t i_point, TLS& rTLS) {
IndexPartition<IndexType>(total_number_of_points).for_each(TLS(),[this, &search_info, &rResults, &Radius, &allocation_size](std::size_t i_point, TLS& rTLS) {
rTLS.point[0] = search_info.PointCoordinates[i_point * 3 + 0];
rTLS.point[1] = search_info.PointCoordinates[i_point * 3 + 1];
rTLS.point[2] = search_info.PointCoordinates[i_point * 3 + 2];
Expand Down Expand Up @@ -761,7 +761,7 @@ class KRATOS_API(KRATOS_CORE) SearchWrapper
struct TLS {
Point point;
};
IndexPartition<IndexType>(total_number_of_points).for_each(TLS(),[this, &search_info, &rResults, &rank](std::size_t i_point, TLS& rTLS) {
IndexPartition<IndexType>(total_number_of_points).for_each(TLS(),[this, &search_info, &rResults](std::size_t i_point, TLS& rTLS) {
rTLS.point[0] = search_info.PointCoordinates[i_point * 3 + 0];
rTLS.point[1] = search_info.PointCoordinates[i_point * 3 + 1];
rTLS.point[2] = search_info.PointCoordinates[i_point * 3 + 2];
Expand Down Expand Up @@ -825,7 +825,7 @@ class KRATOS_API(KRATOS_CORE) SearchWrapper
struct TLS {
Point point;
};
IndexPartition<IndexType>(total_number_of_points).for_each(TLS(),[this, &search_info, &rResults, &rank](std::size_t i_point, TLS& rTLS) {
IndexPartition<IndexType>(total_number_of_points).for_each(TLS(),[this, &search_info, &rResults](std::size_t i_point, TLS& rTLS) {
rTLS.point[0] = search_info.PointCoordinates[i_point * 3 + 0];
rTLS.point[1] = search_info.PointCoordinates[i_point * 3 + 1];
rTLS.point[2] = search_info.PointCoordinates[i_point * 3 + 2];
Expand Down

0 comments on commit 69aa2ce

Please sign in to comment.