Skip to content

Commit

Permalink
Use DEBUG macro instead
Browse files Browse the repository at this point in the history
Avoid double negation in expression.
  • Loading branch information
kuanchihwang committed Feb 27, 2024
1 parent c4fda96 commit 361d187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamics/mpas/driver/dyn_mpas_subdriver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ subroutine dyn_mpas_debug_print(self, message, variable, printer)
class(*), optional, intent(in) :: variable(:)
integer, optional, intent(in) :: printer

#ifndef NDEBUG
#ifdef DEBUG
if (present(printer)) then
if (self % mpi_rank /= printer) then
return
Expand Down

0 comments on commit 361d187

Please sign in to comment.