Index: /issm/trunk/src/c/objects/Elements/Penta.cpp
===================================================================
--- /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 10418)
+++ /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 10419)
@@ -5908,5 +5908,4 @@
 	double     D[8][8]={0.0};
 	double     Ke_temp[27][27]={0.0}; //for the six nodes and the bubble 
-	double     Ke_gaussian[27][27];
 	GaussPenta *gauss=NULL;
 
@@ -5943,7 +5942,5 @@
 					&D[0][0],8,8,0,
 					&B_prime[0][0],8,27,0,
-					&Ke_gaussian[0][0],0);
-
-		for(i=0;i<27;i++) for(j=0;j<27;j++) Ke_temp[i][j]+=Ke_gaussian[i][j];
+					&Ke_temp[0][0],1);
 	}
 
@@ -6748,7 +6745,5 @@
 					&D[0][0],8,8,0,
 					&B_prime_bubble[0][0],8,3,0,
-					&Ke_gaussian[0][0],0);
-
-		for(i=0;i<numdofbubble;i++) for(j=0;j<NDOF3;j++) Ke_temp[i][j]+=Ke_gaussian[i][j];
+					&Ke_temp[0][0],1);
 	}
 
