Skip to content

Commit

Permalink
Fixed a bug in the deallocate call
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-marques committed Mar 13, 2018
1 parent f12702c commit a77d114
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/parameterizations/vertical/MOM_cvmix_conv.F90
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ end subroutine calculate_cvmix_conv
subroutine cvmix_conv_end(CS)
type(cvmix_conv_cs), pointer :: CS ! Control structure

deallocate(CS%N2, CS%diag)
deallocate(CS%kd_conv_3d, CS%diag)
deallocate(CS%kv_conv_3d, CS%diag)
deallocate(CS%N2)
deallocate(CS%kd_conv_3d)
deallocate(CS%kv_conv_3d)
deallocate(CS)

end subroutine cvmix_conv_end
Expand Down

0 comments on commit a77d114

Please sign in to comment.