Skip to content

Commit

Permalink
Work around compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gassmoeller committed May 29, 2024
1 parent 5999d1c commit c110c76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/aspect/utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -1257,6 +1257,7 @@ namespace aspect
const Iterator end)
{
AssertDimension(std::distance(begin, end), (SymmetricTensor<2,dim>::n_independent_components));
(void) end;

SymmetricTensor<2,dim> output;

Expand All @@ -1279,6 +1280,7 @@ namespace aspect
const Iterator end)
{
AssertDimension(std::distance(begin, end), (SymmetricTensor<2,dim>::n_independent_components));
(void) end;

Iterator next = begin;
for (unsigned int i=0; i < SymmetricTensor<2,dim>::n_independent_components; ++i, ++next)
Expand Down

0 comments on commit c110c76

Please sign in to comment.