Index: ../trunk-jpl/src/c/analyses/LevelsetAnalysis.cpp
===================================================================
--- ../trunk-jpl/src/c/analyses/LevelsetAnalysis.cpp	(revision 18743)
+++ ../trunk-jpl/src/c/analyses/LevelsetAnalysis.cpp	(revision 18744)
@@ -99,7 +99,8 @@
 	Element* basalelement = element->SpawnBasalElement();
 
 	/*Intermediaries */
-	int  dim, domaintype, iscalvingrate;
+	int  dim, domaintype;
+	bool iscalvingrate;
 	int i, row, col;
 	IssmDouble kappa;
 	IssmDouble Jdet, dt, D_scalar;
@@ -226,7 +227,7 @@
 					&Ke->values[0],1);
 
 		/* Stabilization */
-		int stabilization=1;
+		int stabilization=2;
 		vel=0.;
 		for(i=0;i<dim;i++) vel+=w[i]*w[i];
 		vel=sqrt(vel)+1.e-14;
