Index: /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 27122)
+++ /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 27123)
@@ -920,7 +920,8 @@
 		}
 
-		/* Compute the hyperbolic tangent function */
+		/* set upper and lower bounds */
 		if (gamma > 1.0) gamma = 1.0;
 		if (gamma < 0.0) gamma = 0.0;
+		if (bed >= sealevel) gamma = 0.0;
 
 		/*-------------------------------------------*/
