Skip to content

Commit

Permalink
Revert change I brought in with the conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
slevis-lmwg committed Nov 15, 2024
1 parent e87b119 commit c7e1366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/accumulMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ subroutine update_accum_field_timeavg(this, level, nstep, field)

do k = begi,endi
effective_nstep = nstep - this%ndays_reset_shifted(k,level)
time_to_reset = mod(effective_nstep,this%period) == 1 .or. this%period == 1
time_to_reset = (mod(effective_nstep,this%period) == 1 .or. this%period == 1) .and. effective_nstep /= 0
if (this%active(k) .and. (time_to_reset .or. this%reset(k,level))) then
if (this%reset(k,level) .and. .not. time_to_reset) then
this%ndays_reset_shifted(k,level) = this%ndays_reset_shifted(k,level) + this%nsteps(k,level)
Expand Down

0 comments on commit c7e1366

Please sign in to comment.