Changeset 19902
- Timestamp:
- 12/16/15 14:48:12 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/consistency/checkfield.js
r19780 r19902 8 8 // Available options: 9 9 // - NaN: 1 if check that there is no NaN 10 // - Inf: 1 if check that there is no Inf 10 11 // - size: [lines cols], NaN for non checked dimensions 11 12 // - >: greater than provided value … … 95 96 if (ArrayAnyEqual(field2,NaN)){ 96 97 md.checkmessage(options.getfieldvalue('message',sprintf("NaN values found in field %s",field))); 98 } 99 } 100 101 //check Inf 102 if (options.getfieldvalue('Inf',0)){ 103 field2=MatrixToList(field); 104 if (ArrayAnyEqual(field2,Inf)){ 105 md.checkmessage(options.getfieldvalue('message',sprintf("Inf values found in field %s",field))); 97 106 } 98 107 }
Note:
See TracChangeset
for help on using the changeset viewer.