Changeset 7761
- Timestamp:
- 04/01/11 15:28:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/io/OptionParse.cpp
r7746 r7761 63 63 if (odouble->ndims > 2) { 64 64 _printf_(true,"WARNING -- option \"%s\" of class \"%s\" has ndims=%d and will be skipped.\n",odouble->name,mxGetClassName(prhs[0]),odouble->ndims); 65 odouble->numel=0; 65 66 } 66 67 else FetchData(&odouble->values,NULL,NULL,prhs[0]); … … 94 95 if (ological->ndims > 2 || ological->size[0] > 1 || ological->size[1] > 1) { 95 96 _printf_(true,"WARNING -- option \"%s\" of class \"%s\" is more than [1x1] and will be skipped.\n",ological->name,mxGetClassName(prhs[0])); 97 ological->numel=0; 96 98 } 97 99 else { … … 129 131 if (ochar->ndims > 2 || ochar->size[0] > 1) { 130 132 _printf_(true,"WARNING -- option \"%s\" of class \"%s\" is more than [1xn] and will be skipped.\n",ochar->name,mxGetClassName(prhs[0])); 133 ochar->numel=0; 131 134 } 132 135 else FetchData(&ochar->values,prhs[0]);
Note:
See TracChangeset
for help on using the changeset viewer.