Skip to content

Commit

Permalink
Merge pull request #14049 from tamiko/fix_cuda_warnings
Browse files Browse the repository at this point in the history
fix a warning when compiling with cuda support
  • Loading branch information
kronbichler committed Jun 27, 2022
2 parents e222e3c + dfc2ee2 commit cf864a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/deal.II/matrix_free/cuda_matrix_free.templates.h
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ namespace CUDAWrappers
std::vector<bool> ghost_vertices(
dof_handler->get_triangulation().n_vertices(), false);

for (const auto cell :
for (const auto &cell :
dof_handler->get_triangulation().active_cell_iterators())
if (cell->is_ghost())
for (unsigned int i = 0;
Expand Down

0 comments on commit cf864a2

Please sign in to comment.