Skip to content

Commit

Permalink
Fix typo (#1292)
Browse files Browse the repository at this point in the history
## Summary
Fix a typo in AMReX_extrapolater_3D_K.H

## Additional background

## Checklist

The proposed changes:
- [x] fix a bug or incorrect behavior in AMReX
- [ ] add new capabilities to AMReX
- [ ] changes answers in the test suite to more than roundoff level
- [ ] are likely to significantly affect the results of downstream AMReX users
- [ ] are described in the proposed changes to the AMReX documentation, if appropriate
  • Loading branch information
cgilet authored Aug 21, 2020
1 parent f389199 commit 418f90d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Amr/AMReX_extrapolater_3D_K.H
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ amrex_first_order_extrap_gpu(int i, int j, int k, int n,
data(i,j,k,n) = ( mask(i-1,j+1,k) * data(i-1,j+1,k,n)
+ mask(i-1,j,k+1) * data(i-1,j,k+1,n)
+ mask(i,j+1,k+1) * data(i,j+1,k+1,n) )
/ ( mask(i-1,j+1,k) + mask(i+1,j,k+1) + mask(i,j+1,k+1) );
/ ( mask(i-1,j+1,k) + mask(i-1,j,k+1) + mask(i,j+1,k+1) );
} else {
data(i,j,k,n) = data(i-1,j+1,k+1,n);
}
Expand Down

0 comments on commit 418f90d

Please sign in to comment.