Changeset 2748


Ignore:
Timestamp:
01/04/10 14:36:24 (15 years ago)
Author:
Eric.Larour
Message:

Better check of rifts structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/ismodelselfconsistent.m

    r2723 r2748  
    132132        checkvalues(md,{'rifts.fill'},[WaterEnum() AirEnum() IceEnum() MelangeEnum()]);
    133133else
    134         if ~isnan(md.rifts),
     134        if ~isnans(md.rifts),
    135135                error(['model not consistent: md.rifts shoud be NaN since md.numrifts is 0!']);
    136136        end
Note: See TracChangeset for help on using the changeset viewer.