Skip to content

Commit

Permalink
initialize to zero properly
Browse files Browse the repository at this point in the history
  • Loading branch information
rjleveque committed Jun 15, 2020
1 parent 9ce6a53 commit 88bfcd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rpt2_geoclaw.f
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ subroutine rpt2(ixy,imp,maxm,meqn,mwaves,maux,mbc,mx,
! initialize all components to 0:
bmasdq(:,:) = 0.d0
bpasdq(:,:) = 0.d0
bmasdq(:,i) = 0.d0
bpasdq(:,i) = 0.d0
do mw=1,3
if ((abs(s(mw)) > 0.d0) .and.
Expand Down

0 comments on commit 88bfcd3

Please sign in to comment.