Skip to content

Commit

Permalink
Fix type-limits compiler warning for GCC10
Browse files Browse the repository at this point in the history
Looked at the code and the warning does seem correct.

Signed-off-by: Samuel E. Browne <sebrown@sandia.gov>
  • Loading branch information
sebrowne committed Jan 8, 2025
1 parent 7ff2e11 commit 10aff43
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 10aff43

Please sign in to comment.