Skip to content

Commit 12d93b1

Browse files
Merge Pull Request #13709 from sebrowne/Trilinos/fix-type-limit-warning
Automatically Merged using Trilinos Pull Request AutoTester PR Title: b'ShyLU_DDFROSch: Fix `type-limits` compiler warning for GCC10' PR Author: sebrowne
2 parents 7ff2e11 + 10aff43 commit 12d93b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shylu/shylu_dd/frosch/src/InterfaceSets/FROSch_InterfaceEntity_def.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ namespace FROSch {
117117
FROSCH_ASSERT(nDofs<=DofsPerNode_,"nDofs>DofsPerNode_.");
118118

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

0 commit comments

Comments
 (0)