Skip to content

Commit

Permalink
Merge Pull Request trilinos#12161 from japlews/Trilinos/japlews/intre…
Browse files Browse the repository at this point in the history
…pid2-unused-but-set-subcells

Automatically Merged using Trilinos Pull Request AutoTester
PR Title: Intrepid2: remove unused but set variables causing warnings in Sierra
PR Author: japlews
  • Loading branch information
trilinos-autotester authored Aug 25, 2023
2 parents 76163c2 + 7422e23 commit 17532be
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -902,8 +902,7 @@ struct OperatorTensorDecomposition

for (ordinal_type d=0; d<=tensorSpaceDim; d++) // d: tensorial dimension
{
ordinal_type d2_max = std::min(spaceDim2,d);
int subcellOffset = 0; // for this dimension of tensor subcells, how many subcells have we already counted with other d2/d1 combos?
ordinal_type d2_max = std::min(spaceDim2, d);
for (ordinal_type d2=0; d2<=d2_max; d2++)
{
ordinal_type d1 = d-d2;
Expand Down Expand Up @@ -935,8 +934,7 @@ struct OperatorTensorDecomposition
} // localDofID1
} // localDofID2
} // subcellOrdinal1
} // subcellOrdinal2
subcellOffset += subcellCount1 * subcellCount2;
} // subcellOrdinal2
}
}

Expand Down

0 comments on commit 17532be

Please sign in to comment.