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/phylmd/lmdz_lscp_ini.F90

    r5007 r5082  
    409409
    410410    ! check for precipitation sub-time steps
    411     IF (ABS(dtime/REAL(niter_lscp)-360.0).GT.0.001) THEN
     411    IF (ABS(dtime/REAL(niter_lscp)-360.0)>0.001) THEN
    412412        WRITE(lunout,*) 'lscp: it is not expected, see Z.X.Li', dtime
    413413        WRITE(lunout,*) 'I would prefer a 6 min sub-timestep'
     
    417417    ! and other options
    418418   
    419     IF (iflag_autoconversion .EQ. 2) THEN
    420         IF ((iflag_vice .NE. 0) .OR. (niter_lscp .GT. 1)) THEN
     419    IF (iflag_autoconversion == 2) THEN
     420        IF ((iflag_vice /= 0) .OR. (niter_lscp > 1)) THEN
    421421           abort_message = 'in lscp, iflag_autoconversion=2 requires iflag_vice=0 and niter_lscp=1'
    422422           CALL abort_physic (modname,abort_message,1)
Note: See TracChangeset for help on using the changeset viewer.