Index: /issm/trunk/src/m/model/ismodelselfconsistent.m
===================================================================
--- /issm/trunk/src/m/model/ismodelselfconsistent.m	(revision 9289)
+++ /issm/trunk/src/m/model/ismodelselfconsistent.m	(revision 9290)
@@ -526,5 +526,5 @@
 
 				%CHECK SPCTEMPERATURE that are not NaN are >0.
-				if find(any(md.spctemperature(find(~isnan(md.spctemperature)))<=0)),
+				if find(any(md.spctemperature(find(~isnan(md.spctemperature(1:md.numberofnodes,:))))<=0)),
 					message(['model not consistent: model ' md.name ' is constrained with negative or nil temperatures!']);
 				end
