Skip to content

Commit

Permalink
change .eq. to == syntacx for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-seaice committed May 3, 2024
1 parent c551cc2 commit 92c4f4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cicecore/cicedyn/infrastructure/ice_domain.F90
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ subroutine init_domain_blocks
call broadcast_scalar(ny_global, master_task)

! Set nprocs if not set in namelist
if (nprocs .eq. -1) then
if (nprocs == -1) then
nprocs = get_num_procs()
else if (nprocs .ne. get_num_procs()) then
else if (nprocs /= get_num_procs()) then
write(nu_diag,*) subname,' ERROR: nprocs, get_num_procs = ',nprocs,get_num_procs()
call abort_ice(subname//' ERROR: Input nprocs not same as system request', file=__FILE__, line=__LINE__)
endif
Expand Down

0 comments on commit 92c4f4d

Please sign in to comment.