Index: /issm/trunk/src/m/utils/Nightly/testsgettolerance.m
===================================================================
--- /issm/trunk/src/m/utils/Nightly/testsgettolerance.m	(revision 1016)
+++ /issm/trunk/src/m/utils/Nightly/testsgettolerance.m	(revision 1017)
@@ -14,5 +14,5 @@
 
 if (strcmpi(package,'macayeal') | strcmpi(package,'ice') | strcmpi(package,'cielo_serial')),
-	tolerance=10^-14;
+	tolerance=10^-12;
 
 elseif strcmpi(package,'cielo_parallel'),
@@ -22,7 +22,13 @@
 	elseif strcmpi(solution,'transient'),
 		if strcmpi(md.type,'2d'),
-			tolerance=10^-14;
+			tolerance=10^-11;
 		else
-			tolerance=10^-10;
+			if md.isstokes,
+				tolerance=10^-4;
+			elseif any(md.gridonpattyn),
+				tolerance=10^-6;
+			else,
+				tolerance=10^-13;
+			end
 		end
 
@@ -38,7 +44,7 @@
 	elseif (strcmpi(solution,'thermalsteady') | strcmpi(solution,'thermaltransient')),
 		if strncmpi(fliplr(field),fliplr('melting'),7),
-			tolerance=2*10^-1;
+			tolerance=10^-6;
 		elseif strncmpi(fliplr(field),fliplr('temperature'),11),
-			tolerance=10^-6;
+			tolerance=10^-12;
 		end
 
