Index: /issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Penta.cpp	(revision 15953)
+++ /issm/trunk-jpl/src/c/classes/Elements/Penta.cpp	(revision 15954)
@@ -11229,5 +11229,5 @@
 	for(i=0;i<NUMVERTICES;i++){
 		/*Ice shelf: if bed below bathymetry, impose it at the bathymetry and update surface, elso do nothing */
-		if(reCast<bool,IssmDouble>(old_floating_ice[nodes[i]->Sid()])){
+		if(phi[i]<=0){
 			if(b[i]<=r[i]){ 
 				b[i]        = r[i];
Index: /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 15953)
+++ /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 15954)
@@ -7339,5 +7339,5 @@
 	for(i=0;i<NUMVERTICES;i++){
 		/*Ice shelf: if bed below bathymetry, impose it at the bathymetry and update surface, elso do nothing */
-		if(reCast<bool>(old_floating_ice[nodes[i]->Sid()])){
+		if(phi[i]<=0){
 			if(b[i]<=r[i]){ 
 				b[i]        = r[i];
