Skip to content

Commit

Permalink
Merge pull request #6147 from danieldouglas92/remove_unused_variable
Browse files Browse the repository at this point in the history
Remove unused variable
  • Loading branch information
gassmoeller authored Nov 13, 2024
2 parents 62c62ab + 585db19 commit 5e6ffbe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/particle/property/cpo_bingham_average.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ namespace aspect
std::vector<double> volume_fractions_grains(n_grains);
std::vector<Tensor<2,3>> rotation_matrices_grains(n_grains);

unsigned int p = 0;
for (auto &particle: particles)
{
ArrayView<double> data = particle.get_properties();
Expand All @@ -109,7 +108,6 @@ namespace aspect
data[this->data_position + mineral_i*18 + i*6 + j] = bingham_average[i][j];
}
}
++p;
}
}

Expand Down

0 comments on commit 5e6ffbe

Please sign in to comment.