Index: /issm/trunk/src/c/objects/Numerics/ElementMatrix.cpp
===================================================================
--- /issm/trunk/src/c/objects/Numerics/ElementMatrix.cpp	(revision 6030)
+++ /issm/trunk/src/c/objects/Numerics/ElementMatrix.cpp	(revision 6031)
@@ -135,4 +135,5 @@
 				this->row_flocaldoflist[counter] =P[Ke2->row_flocaldoflist[i]];
 				this->row_fglobaldoflist[counter]=Ke2->row_fglobaldoflist[i];
+				counter++;
 			}
 		}
@@ -161,4 +162,5 @@
 				this->row_slocaldoflist[counter] =P[Ke2->row_slocaldoflist[i]];
 				this->row_sglobaldoflist[counter]=Ke2->row_sglobaldoflist[i];
+				counter++;
 			}
 		}
