Index: ../trunk-jpl/src/m/classes/frictionweertman.m
===================================================================
--- ../trunk-jpl/src/m/classes/frictionweertman.m	(revision 18481)
+++ ../trunk-jpl/src/m/classes/frictionweertman.m	(revision 18482)
@@ -44,7 +44,7 @@
 		function marshall(obj,md,fid) % {{{
 			yts=365.0*24.0*3600.0;
 
-			WriteData(fid,'enum',FrictionLawEnum,'data',1,'format','Integer');
+			WriteData(fid,'enum',FrictionLawEnum,'data',2,'format','Integer');
 			WriteData(fid,'class','friction','object',obj,'fieldname','C','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
 			WriteData(fid,'class','friction','object',obj,'fieldname','m','format','DoubleMat','mattype',2);
 			
