Index: /issm/trunk/src/c/objects/Elements/Penta.cpp
===================================================================
--- /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 6935)
+++ /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 6936)
@@ -705,5 +705,4 @@
 	ElementMatrix* Ke1=new ElementMatrix(this->nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum);
 	ElementMatrix* Ke2=new ElementMatrix(this->nodes,NUMVERTICES,this->parameters,StokesApproximationEnum);
-	_error_("KMatrix coupling MacAyealStokes not terminated yet");
 	ElementMatrix* Ke=new ElementMatrix(Ke1,Ke2);
 	delete Ke1;
@@ -712,4 +711,5 @@
 	Ke2=CreateKMatrixDiagnosticStokes();
 
+	_error_("KMatrix coupling MacAyealStokes not terminated yet");
 
 	/*Constants*/
@@ -1008,5 +1008,5 @@
 
 	/*compute all stiffness matrices for this element*/
-	ElementMatrix* Ke1=CreateKMatrixDiagnosticMacAyeal2d();
+	ElementMatrix* Ke1=CreateKMatrixDiagnosticMacAyeal3d();
 	ElementMatrix* Ke2=CreateKMatrixDiagnosticStokes();
 	ElementMatrix* Ke3=CreateKMatrixCouplingMacAyealStokes();
