Index: /issm/trunk/src/c/objects/Elements/Penta.cpp
===================================================================
--- /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 3863)
+++ /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 3864)
@@ -1719,5 +1719,6 @@
 
 	/*parameters: */
-	double dt,artdiff,epsvel;
+	double dt,epsvel;
+	bool   artdiff;
 
 	/*Collapsed formulation: */
Index: /issm/trunk/src/c/objects/Elements/Tria.cpp
===================================================================
--- /issm/trunk/src/c/objects/Elements/Tria.cpp	(revision 3863)
+++ /issm/trunk/src/c/objects/Elements/Tria.cpp	(revision 3864)
@@ -807,5 +807,5 @@
 
 	/*parameters: */
-	double artdiff;
+	bool artdiff;
 
 	/* Get node coordinates and dof list: */
@@ -1056,5 +1056,5 @@
 
 	/*parameters: */
-	double artdiff;
+	bool artdiff;
 
 	/*retrieve some parameters: */
@@ -1679,5 +1679,5 @@
 	/*parameters: */
 	double dt;
-	double artdiff;
+	bool artdiff;
 
 	/*retrieve some parameters: */
@@ -1690,5 +1690,5 @@
 
 	//Create Artificial diffusivity once for all if requested
-	if(artdiff==1){
+	if(artdiff){
 		//Get the Jacobian determinant
 		gauss_l1l2l3[0]=ONETHIRD; gauss_l1l2l3[1]=ONETHIRD; gauss_l1l2l3[2]=ONETHIRD;
@@ -1770,5 +1770,5 @@
 		for( i=0; i<numdof; i++) for(j=0;j<numdof;j++) Ke_gg[i][j]+=Ke_gg_thickness2[i][j];
 
-		if(artdiff==1){
+		if(artdiff){
 
 			/* Compute artificial diffusivity */
