Changeset 23984


Ignore:
Timestamp:
06/04/19 14:38:19 (6 years ago)
Author:
schlegel
Message:

CHG: no need to update isclimatology for classes that don't have it

File:
1 edited

Legend:

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

    r23814 r23984  
    170170                        end
    171171                        %2019 Mar 28
    172                         if isa(md.smb.isclimatology,'double')
    173                                 if prod(size(md.smb.isclimatology)) ~= 1
    174                                         md.smb.isclimatology = 0;
     172                        if isa(md.smb,'SMBcomponents') | isa(md.smb,'SMBmeltcomponents') | isa(md.smb,'SMBforcing') | isa(md.smb,'SMBgemb')
     173                                if isa(md.smb.isclimatology,'double')
     174                                        if prod(size(md.smb.isclimatology)) ~= 1
     175                                                md.smb.isclimatology = 0;
     176                                        end
    175177                                end
    176178                        end
Note: See TracChangeset for help on using the changeset viewer.