Index: /issm/trunk-jpl/src/c/toolkits/issm/IssmMpiSparseMat.h
===================================================================
--- /issm/trunk-jpl/src/c/toolkits/issm/IssmMpiSparseMat.h	(revision 16416)
+++ /issm/trunk-jpl/src/c/toolkits/issm/IssmMpiSparseMat.h	(revision 16417)
@@ -193,4 +193,7 @@
 			doubletype*   this_row_values     = NULL;
 			int           row;
+
+			/*Early exit: */
+			if(this->M*this->N==0)return; //no need to assemble.
 
 			/*some communicator info: */
