Index: ../trunk-jpl/test/Archives/Archive439.nc
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: ../trunk-jpl/test/Archives/Archive438.nc
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: ../trunk-jpl/src/c/classes/Loads/Friction.cpp
===================================================================
--- ../trunk-jpl/src/c/classes/Loads/Friction.cpp	(revision 18804)
+++ ../trunk-jpl/src/c/classes/Loads/Friction.cpp	(revision 18805)
@@ -289,8 +289,9 @@
 	s=1./drag_p;
 
 	//From bed and thickness, compute effective pressure when drag is viscous:
-	Neff=gravity*(rho_ice*thickness+rho_water*(bed+water_layer));
-	if(Neff<0)Neff=0;
+	if(bed>0) bed=0;
+	Neff=gravity*(rho_ice*thickness+rho_water*(bed-water_layer));
+	if(Neff<0) Neff=0;
 
 	switch(dim){
 		case 1:
