Index: /issm/trunk/src/m/model/ismodelselfconsistent.m
===================================================================
--- /issm/trunk/src/m/model/ismodelselfconsistent.m	(revision 7800)
+++ /issm/trunk/src/m/model/ismodelselfconsistent.m	(revision 7801)
@@ -377,5 +377,5 @@
 
 			%INITIAL VELOCITY
-			if ~isempty(md.vx) & ~isempty(md.vy),
+			if ~isnan(md.vx) & ~isnan(md.vy),
 				fields={'vx','vy'};
 				checknan(md,fields);
@@ -413,5 +413,5 @@
 			%CHECK THAT WE ARE NOT FULLY CONSTRAINED
 			if (md.dim==2),
-				if isempty(find(~md.spcthickness(:,1))),
+				if isnan(find(~md.spcthickness(:,1))),
 					error(['model not consistent: model ' md.name ' is totally constrained for prognostic, no need to solve!']);
 				end
@@ -426,5 +426,5 @@
 
 			%CHECK THAT WE ARE NOT FULLY CONSTRAINED
-			if isempty(find(~md.spctemperature(:,1))),
+			if isnan(find(~md.spctemperature(:,1))),
 				error(['model not consistent: model ' md.name ' is totally constrained for temperature, no need to solve!']);
 			end
