Index: /issm/trunk-jpl/src/m/classes/slr.m
===================================================================
--- /issm/trunk-jpl/src/m/classes/slr.m	(revision 20023)
+++ /issm/trunk-jpl/src/m/classes/slr.m	(revision 20024)
@@ -16,5 +16,4 @@
 		eustatic         = 0;
 		legendre_precompute = 0;
-		legendre_coefficients = NaN;
 		store_green_functions = 0;
 	end
@@ -43,6 +42,5 @@
 		
 		%legendre coefficients: 
-		self.legendre_precompute = 0;
-		self.legendre_coefficients = NaN;
+		self.legendre_precompute = 1;
 
 		%optimization: 
@@ -66,9 +64,4 @@
 			end
 
-			%check that the legendre coefficients have indeed been computed if requested:
-			if self.legendre_precompute,
-				md = checkfield(md,'fieldname','slr.legendre_coefficients','NaN',1,'Inf',1,'size',[NaN length(self.love_h)]);
-			end
-
 		end % }}}
 		function disp(self) % {{{
@@ -86,7 +79,4 @@
 			fielddisplay(self,'store_green_functions','store green functions (default 1) to speed up solutoin (though memory intense)');
 			fielddisplay(self,'legendre_precompute','precompute legendre coefficients? (default is 0)');
-			if(self.legendre_precompute)
-				fielddisplay(self,'legendre_coefficients','precomputed legendre coefficients');
-			end
 
 		end % }}}
@@ -103,7 +93,4 @@
 			WriteData(fid,'object',self,'class','sealevelrise','fieldname','store_green_functions','format','Boolean');
 			WriteData(fid,'object',self,'class','sealevelrise','fieldname','legendre_precompute','format','Boolean');
-			if(self.legendre_precompute),
-				WriteData(fid,'object',self,'class','sealevelrise','fieldname','legendre_coefficients','format','DoubleMat','mattype',1);
-			end
 		end % }}}
 		function savemodeljs(self,fid,modelname) % {{{
@@ -119,7 +106,4 @@
 			writejsdouble(fid,[modelname '.slr.eustatic'],self.eustatic);
 			writejsdouble(fid,[modelname '.slr.legendre_precompute'],self.legendre_precompute);
-			if self.legendre_precompute,
-				writejs2Darray(fid,[modelname '.srl.legendre_coefficients'],self.legendre_coefficients);
-			end
 
 		end % }}}
