Skip to content

Commit

Permalink
fix: missing if statement in PR #1149 (#1155)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikizadehgfdl authored Mar 13, 2023
1 parent 0ff254e commit 6362657
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions diag_manager/diag_manager.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1465,6 +1465,9 @@ LOGICAL FUNCTION send_data_3d(diag_field_id, field, time, is_in, js_in, ks_in, &
elseif (present(rmask)) then
send_data_3d = diag_send_data(diag_field_id, field, time=time, is_in=is_in, js_in=js_in, ks_in=ks_in, &
rmask=rmask, ie_in=ie_in, je_in=je_in, ke_in=ke_in, weight=weight, err_msg=err_msg)
elseif (present(mask)) then
send_data_3d = diag_send_data(diag_field_id, field, time=time, is_in=is_in, js_in=js_in, ks_in=ks_in, &
mask=mask, ie_in=ie_in, je_in=je_in, ke_in=ke_in, weight=weight, err_msg=err_msg)
else
send_data_3d = diag_send_data(diag_field_id, field, time=time, is_in=is_in, js_in=js_in, ks_in=ks_in, &
ie_in=ie_in, je_in=je_in, ke_in=ke_in, weight=weight, err_msg=err_msg)
Expand Down

0 comments on commit 6362657

Please sign in to comment.