Index: /issm/trunk-jpl/src/c/shared/Elements/PrintArrays.cpp
===================================================================
--- /issm/trunk-jpl/src/c/shared/Elements/PrintArrays.cpp	(revision 13913)
+++ /issm/trunk-jpl/src/c/shared/Elements/PrintArrays.cpp	(revision 13914)
@@ -14,14 +14,17 @@
 }
 void printsparsity(IssmPDouble* array,int lines,int cols){
+	int count;
 	_printLine_("");
 	for(int i=0;i<lines;i++){  
 		_printString_("   [ ");
+		count = 0;
 		for(int j=0;j<cols;j++){
-			if(array[i*cols+j]!=0.0)
-			 _printString_( " X");
+			if(array[i*cols+j]!=0.0){
+				_printString_( " X"); count++;
+			}
 			else
 			 _printString_( " .");
 		}
-		_printLine_(" ]");
+		_printLine_(" ] "<<i<<" => "<<count);
 	}  
 	_printLine_("");
