Index: /issm/trunk-jpl/src/m/solve/WriteData.py
===================================================================
--- /issm/trunk-jpl/src/m/solve/WriteData.py	(revision 21645)
+++ /issm/trunk-jpl/src/m/solve/WriteData.py	(revision 21646)
@@ -213,5 +213,5 @@
 		#first write length of record
 		recordlength=4+4+8*np.product(s)+4+4; #2 integers (32 bits) + the double matrix + code + matrix type
-		if recordlength > 2**31 :
+		if recordlength > 4**31 :
 			raise ValueError('field %s cannot be marshalled because it is larger than 4^31 bytes!' % enum)
 
