Changeset 13811


Ignore:
Timestamp:
10/23/12 13:33:59 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: more tolerant check on spc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/classes/diagnostic.m ΒΆ

    r13646 r13811  
    9292
    9393                        %singular solution
    94                         if ~any((~isnan(md.diagnostic.spcvx)+~isnan(md.diagnostic.spcvy))==2),
     94                        if ~(any(~isnan(md.diagnostic.spcvx)) & any(~isnan(md.diagnostic.spcvy))),
    9595                                md = checkmessage(md,['model is not well posed (singular). You need at least one node with fixed velocity!']);
    9696                        end
Note: See TracChangeset for help on using the changeset viewer.