Changeset 3181


Ignore:
Timestamp:
03/04/10 09:31:20 (15 years ago)
Author:
Mathieu Morlighem
Message:

Added Misfit 3

File:
1 edited

Legend:

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

    r3104 r3181  
    371371
    372372        %FIT
    373         if sum((double(md.fit==1) + double(md.fit==0) + double(md.fit==2))==1)~=md.nsteps
    374                 error('model not consistent: wrong fits: fit should be a vector of size nsteps holding 0, 1 and 2 only')
    375         end
     373        checkvalues(md,{'fit'},[0 1 2 3]);
    376374
    377375        %OBSERVED VELOCITIES
Note: See TracChangeset for help on using the changeset viewer.