Index: /issm/trunk/src/c/io/OptionParse.cpp
===================================================================
--- /issm/trunk/src/c/io/OptionParse.cpp	(revision 7760)
+++ /issm/trunk/src/c/io/OptionParse.cpp	(revision 7761)
@@ -63,4 +63,5 @@
 	if (odouble->ndims > 2) {
 		_printf_(true,"WARNING -- option \"%s\" of class \"%s\" has ndims=%d and will be skipped.\n",odouble->name,mxGetClassName(prhs[0]),odouble->ndims);
+		odouble->numel=0;
 	}
 	else FetchData(&odouble->values,NULL,NULL,prhs[0]);
@@ -94,4 +95,5 @@
 	if (ological->ndims > 2 || ological->size[0] > 1 || ological->size[1] > 1) {
 		_printf_(true,"WARNING -- option \"%s\" of class \"%s\" is more than [1x1] and will be skipped.\n",ological->name,mxGetClassName(prhs[0]));
+		ological->numel=0;
 	}
 	else {
@@ -129,4 +131,5 @@
 	if (ochar->ndims > 2 || ochar->size[0] > 1) {
 		_printf_(true,"WARNING -- option \"%s\" of class \"%s\" is more than [1xn] and will be skipped.\n",ochar->name,mxGetClassName(prhs[0]));
+		ochar->numel=0;
 	}
 	else FetchData(&ochar->values,prhs[0]);
