Skip to content

Commit

Permalink
Fix subroutine name in error string. #334
Browse files Browse the repository at this point in the history
  • Loading branch information
nichannah committed Nov 28, 2016
1 parent 58b26a0 commit c32946c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/MOM_diag_remap.F90
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ subroutine horizontally_average_diag_field(remap_cs, G, staggered_in_x, staggere
real :: v1, v2, total_volume, total_stuff
integer :: i, j, k

call assert(remap_cs%initialized, 'vertically_interpolate_diag_field: remap_cs not initialized.')
call assert(remap_cs%initialized, 'horizontally_average_diag_field: remap_cs not initialized.')
call assert(size(field, 3) == remap_cs%nz, &
'horizontally_average_diag_field: Field vertical dimension does not match diag remap type.')
call assert(size(averaged_field, 1) == remap_cs%nz, &
Expand Down

0 comments on commit c32946c

Please sign in to comment.