Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrum committed Nov 15, 2021
1 parent 9d8c8e9 commit 26ab527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/distributed/tria.cc
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ namespace
// A lambda to avoid code duplication.
const auto copy_vertex = [&](unsigned int vertex_index) -> void {
// copy into local struct
for (size_t d = 0; d < dim; ++d)
for (int d = 0; d < dim; ++d)
{
cell_vertices[vertex_index](d) = corner_point[d];
// reset
Expand Down Expand Up @@ -1011,7 +1011,7 @@ namespace
// A lambda to avoid code duplication.
auto copy_vertex = [&](unsigned int vertex_index) -> void {
// copy into local struct
for (size_t d = 0; d < dim; ++d)
for (int d = 0; d < dim; ++d)
{
cell_vertices[vertex_index](d) = corner_point[d];
// reset
Expand Down

0 comments on commit 26ab527

Please sign in to comment.