Changeset 15775


Ignore:
Timestamp:
08/09/13 11:14:02 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: can now load old models with md.diagnostic

File:
1 edited

Legend:

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

    r15771 r15775  
    10431043                        end
    10441044                        %2013 August 9
    1045                         if isfield(structmd,'diagnostic') & isa(structmd.diagnostic,'diagnostic'),
     1045                        if isfield(structmd,'diagnostic') & (isa(structmd.diagnostic,'diagnostic') || isa(structmd.diagnostic,'stressbalance')),
    10461046                                disp('Recovering old diagnostic class');
    1047                                 md.stressbalance=masstransport(structmd.diagnostic);
     1047                                md.stressbalance=stressbalance(structmd.diagnostic);
    10481048                        end
    10491049                end% }}}
Note: See TracChangeset for help on using the changeset viewer.