Skip to content

Commit

Permalink
Merge Pull Request #13709 from sebrowne/Trilinos/fix-type-limit-warning
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: b'ShyLU_DDFROSch: Fix `type-limits` compiler warning for GCC10'
PR Author: sebrowne
  • Loading branch information
trilinos-autotester authored Jan 8, 2025
2 parents 7ff2e11 + 10aff43 commit 12d93b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ namespace FROSch {
FROSCH_ASSERT(nDofs<=DofsPerNode_,"nDofs>DofsPerNode_.");

for (unsigned i=0; i<nDofs; i++) {
if ((0<=dofIDs[i])&&(dofIDs[i]<=DofsPerNode_)) {
if (dofIDs[i]<=DofsPerNode_) {
NodeVector_[iD].DofsGlobal_[dofIDs[i]] = dofsGlobal[dofIDs[i]];
} else {
FROSCH_ASSERT(false,"dofIDs[i] is out of range.");
Expand Down

0 comments on commit 12d93b1

Please sign in to comment.