Ignore:
Timestamp:
Nov 9, 2022, 7:36:05 PM (2 years ago)
Author:
dcugnet
Message:

Fix the traceur.def backward compatibility issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/misc/readTracFiles_mod.f90

    r4333 r4334  
    13111311  IF(iky == 0) THEN
    13121312    nky = SIZE(ky%key)
    1313     ALLOCATE(k(nky+1)); k(1:nky) = ky%key; k(nky+1) = key; ky%key = k
    1314     ALLOCATE(v(nky+1)); v(1:nky) = ky%val; v(nky+1) = val; ky%val = v
     1313    ALLOCATE(k(nky+1)); IF(ALLOCATED(ky%key)) k(1:nky) = ky%key; k(nky+1) = key; ky%key = k
     1314    ALLOCATE(v(nky+1)); IF(ALLOCATED(ky%val)) v(1:nky) = ky%val; v(nky+1) = val; ky%val = v
    13151315  ELSE IF(lo) THEN
    13161316    ky%key(iky) = key; ky%val(iky) = val
Note: See TracChangeset for help on using the changeset viewer.