Ignore:
Timestamp:
Jul 19, 2024, 5:41:58 PM (4 months ago)
Author:
abarral
Message:

(lint) Fix obsolete boolean operators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/dyn3dmem/friction_loc.F

    r2597 r5082  
    5656        ! set friction type
    5757        call getin("friction_type",friction_type)
    58         if ((friction_type.lt.0).or.(friction_type.gt.1)) then
     58        if ((friction_type<0).or.(friction_type>1)) then
    5959          abort_message="wrong friction type"
    6060          write(lunout,*)'Friction: wrong friction type',friction_type
     
    6565!$OMP END SINGLE COPYPRIVATE(friction_type,firstcall)
    6666
    67       if (friction_type.eq.0) then ! friction on first layer only
     67      if (friction_type==0) then ! friction on first layer only
    6868!$OMP SINGLE
    6969c   calcul des composantes au carre du vent naturel
     
    172172      endif ! of if (friction_type.eq.0)
    173173
    174       if (friction_type.eq.1) then
     174      if (friction_type==1) then
    175175       ! for ucov()
    176176        jjb=jj_begin
Note: See TracChangeset for help on using the changeset viewer.