Index: /issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp
===================================================================
--- /issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp	(revision 16892)
+++ /issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp	(revision 16893)
@@ -1449,4 +1449,10 @@
 	ElementMatrix* Ke2=CreateKMatrixL1L2Friction(element);
 	ElementMatrix* Ke =new ElementMatrix(Ke1,Ke2);
+	//if(element->Id()==62){
+	//Ke->Echo();
+	//Ke=element->CreateKMatrix();
+	//Ke->Echo();
+	//_error_("S");
+	//}
 
 	/*clean-up and return*/
@@ -1457,5 +1463,5 @@
 ElementMatrix* StressbalanceAnalysis::CreateKMatrixL1L2Friction(Element* element){/*{{{*/
 
-	if(!element->IsOnBed() || !element->IsFloating()) return NULL;
+	if(!element->IsOnBed() || element->IsFloating()) return NULL;
 	Element* basalelement = element->SpawnBasalElement();
 	ElementMatrix* Ke = CreateKMatrixSSAFriction(basalelement);
