Skip to content

Commit

Permalink
A rethink of return value
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalinen committed Jan 25, 2025
1 parent 1903674 commit 1b8d20e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fem/src/DefUtils.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2252,8 +2252,8 @@ FUNCTION GetElementNOFBDOFs( Element, USolver, Update ) RESULT(n)
! the bubble count when solverwise definitions are used.
IF (ASSOCIATED(Solver % Values)) THEN
Bubbles = ListGetLogical(Solver % Values, 'Bubbles', Found)
IF (Bubbles .AND. ASSOCIATED(CurrElement % BubbleIndexes)) THEN
n = SIZE(CurrElement % BubbleIndexes)
IF (Bubbles) THEN
n = CurrElement % BDOFs
END IF
END IF
END IF
Expand Down

0 comments on commit 1b8d20e

Please sign in to comment.