Changeset 23038


Ignore:
Timestamp:
08/01/18 14:37:56 (7 years ago)
Author:
caronlam
Message:

fixing consitency checks in slr.py

File:
1 edited

Legend:

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

    r23036 r23038  
    166166                maskpos=md.mask.ice_levelset[md.mesh.elements[pos,:]]
    167167                els=np.where(maskpos>0)
    168                 if len(els[1])>0:
     168                if len(els[0])>0:
    169169                        warnings.warn('slr checkconsistency fail: there are elements with ice loads where some vertices are not on the ice!')
    170170               
Note: See TracChangeset for help on using the changeset viewer.