Index: /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 15195)
+++ /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 15196)
@@ -6479,5 +6479,5 @@
 		int        hmax_flag;
 		IssmDouble h_max;
-		IssmDouble gravity,rho_ice,rho_water;
+		IssmDouble rho_ice,rho_water;
 		IssmDouble thickness,bed;
 
@@ -6494,10 +6494,9 @@
 				break;
 			case 2:
-				gravity=matpar->GetG();
 				rho_ice=matpar->GetRhoIce();
 				rho_water=matpar->GetRhoFreshwater();
 				this->GetInputValue(&thickness,innode,ThicknessEnum);
 				this->GetInputValue(&bed,innode,BedEnum);
-				h_max=((rho_ice*gravity*thickness)/rho_water)+bed;
+				h_max=((rho_ice*thickness)/rho_water)+bed;
 				break;
 			case 3:
