Skip to content

Commit

Permalink
Merge pull request #261 from GEOS-ESM/hotfix/bmauer/#260-timermodeset
Browse files Browse the repository at this point in the history
Fixes #260. The logic in timermodeset is just wrong.
  • Loading branch information
atrayano authored Mar 19, 2020
2 parents 0e9cc3f + 8888f3e commit 8fe80c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MAPL_Base/MAPL_Profiler.F90
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ subroutine MAPL_TimerModeSet(MODE, RC)
character(len=ESMF_MAXSTR), parameter :: IAm="MAPL_ProfModeSet"

! Sanity check
_ASSERT(timerMode >= MAPL_TimerModeOld .and. timerMode <= MAPL_TimerModeMax,'needs informative message')
timerMode = mode
_ASSERT(timerMode >= MAPL_TimerModeOld .and. timerMode <= MAPL_TimerModeMinMax,'needs informative message')

_RETURN(ESMF_SUCCESS)

Expand Down

0 comments on commit 8fe80c2

Please sign in to comment.