Index: /issm/trunk/src/m/classes/public/ismodelselfconsistent.m
===================================================================
--- /issm/trunk/src/m/classes/public/ismodelselfconsistent.m	(revision 1669)
+++ /issm/trunk/src/m/classes/public/ismodelselfconsistent.m	(revision 1670)
@@ -11,4 +11,7 @@
 	error('ismodelselfconsistent error message: wrong usage');
 end
+
+%initialize output
+bool=1;
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   COMMON CHECKS   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -499,5 +502,11 @@
 end
 
-%No problems, just return 1;
-bool=1;
-return;
+%ICE and MACAYEAL
+if (strcmpi(package,'ice') | strcmpi(package,'macayeal')),
+
+	if (isnan(md.eps_rel) & isnan(md.eps_abs)),
+		disp(['At least eps_rel must be positive since eps_res not supported by package ' package '!']);
+		bool=0; return;
+	end
+
+end
