Ignore:
Timestamp:
Mar 6, 2019 10:41:14 AM (6 years ago)
Author:
eckhard
Message:

inifor: Removed unused variables, improved coding style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/UTIL/inifor/tests/util.f90

    r3183 r3785  
    1515! PALM. If not, see <http://www.gnu.org/licenses/>.
    1616!
    17 ! Copyright 2017-2018 Leibniz Universitaet Hannover
    18 ! Copyright 2017-2018 Deutscher Wetterdienst Offenbach
     17! Copyright 2017-2019 Leibniz Universitaet Hannover
     18! Copyright 2017-2019 Deutscher Wetterdienst Offenbach
    1919!------------------------------------------------------------------------------!
    2020!
     
    7171          msg = 'failed.'
    7272          label = ' [XX]'
    73        END IF
     73       ENDIF
    7474
    7575       PRINT '(/A, A, A, A)', TRIM(label) // "  Test '", TRIM(title), "' ", TRIM(msg)
     
    8787       ELSE
    8888           assert_equal = assert(a, b, 'eq')
    89        END IF
     89       ENDIF
    9090
    9191       IF (assert_equal .eqv. .TRUE.)  THEN
     
    9494           PRINT *, "Equality assertion for ", msg, " failed. Maximum error is ",               &
    9595              MAXVAL( ABS( a - b))
    96        END IF
     96       ENDIF
    9797
    9898    END FUNCTION assert_equal
     
    125125                mag    = MAX( ABS(a(i)), ABS(b(i)) )
    126126                assert = assert .AND. (diff < mag * max_rel_diff )
    127              END DO
    128           END IF
     127             ENDDO
     128          ENDIF
    129129
    130130       CASE DEFAULT
Note: See TracChangeset for help on using the changeset viewer.