Changeset 13469


Ignore:
Timestamp:
09/27/12 13:52:04 (12 years ago)
Author:
Eric.Larour
Message:

CHG: fixed bug in requested_outputs check consistency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/prognostic.py

    r13444 r13469  
    6969                md = checkfield(md,'prognostic.stabilization','values',[0,1,2,3])
    7070                md = checkfield(md,'prognostic.min_thickness','>',0)
    71                 md = checkfield(md,'prognostic.requested_outputs','size',[float('NaN'),1])
     71                if not md.prognostic.requested_outputs:
     72                        md = checkfield(md,'prognostic.requested_outputs','size',[float('NaN'),1])
    7273
    7374                return md
Note: See TracChangeset for help on using the changeset viewer.