Changeset 282
- Timestamp:
- 05/06/09 16:29:14 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/DataInterpx/DataInterpx.cpp
r1 r282 26 26 27 27 /*Some checks on arguments: */ 28 if ((M<=0) || (N<=0) || (nods<=0)){29 throw ErrorException(__FUNCT__," error message:nothing to be done according to the dimensions of input matrices and vectors.");28 if ((M<=0) || (N<=0) || (nods<=0)){ 29 throw ErrorException(__FUNCT__,"nothing to be done according to the dimensions of input matrices and vectors."); 30 30 } 31 31 if(M!=(y_rows-1)){ 32 throw ErrorException(__FUNCT__," error message:y vector length should be 1 more than data number of rows.");32 throw ErrorException(__FUNCT__,"y vector length should be 1 more than data number of rows."); 33 33 } 34 34 if(N!=(x_rows-1)){ 35 throw ErrorException(__FUNCT__," error message:x vector length should be 1 more than data number of columns.");35 throw ErrorException(__FUNCT__,"x vector length should be 1 more than data number of columns."); 36 36 } 37 37
Note:
See TracChangeset
for help on using the changeset viewer.