Index: /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 17331)
+++ /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 17332)
@@ -600,5 +600,5 @@
 
 	}
-	else if(meshtype==Mesh3DEnum){
+	else if(meshtype==Mesh2DhorizontalEnum){
 		/*Check that not all nodes are grounded or floating*/
 		if(gl[0]>0 && gl[1]>0 && gl[2]>0){ // All grounded
