Skip to content

Commit

Permalink
[arcane,impl] Corrige avertissement codacy.
Browse files Browse the repository at this point in the history
  • Loading branch information
grospelliergilles committed Oct 7, 2024
1 parent 97eef40 commit f384551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arcane/src/arcane/impl/internal/LoadBalanceMngInternal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ void CriteriaMng::
_computeComm()
{
VariableFaceReal& comm_costs = *m_comm_costs;
VariableCellReal& mass_res_weight = *m_mass_res_weight;

Integer penalty = 2; // How many times we do synchronization ?

Expand All @@ -261,6 +260,7 @@ _computeComm()
}
}
if (m_cell_comm) {
VariableCellReal& mass_res_weight = *m_mass_res_weight;
ENUMERATE_CELL (icell, m_mesh->ownCells()) {
Real mem = mass_res_weight[icell];
for (Face face : icell->faces()) {
Expand Down

0 comments on commit f384551

Please sign in to comment.