Index: /issm/trunk-jpl/src/c/objects/Params/BoolParam.h
===================================================================
--- /issm/trunk-jpl/src/c/objects/Params/BoolParam.h	(revision 12530)
+++ /issm/trunk-jpl/src/c/objects/Params/BoolParam.h	(revision 12531)
@@ -57,6 +57,6 @@
 
 		void  SetValue(bool boolean){this->value=boolean;}
-		void  SetValue(int integer){this->value=(bool)integer;}
-		void  SetValue(IssmPDouble scalar){this->value=(bool)scalar;}
+		void  SetValue(int integer){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an int");}
+		void  SetValue(IssmPDouble scalar){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an IssmPDouble");}
 		void  SetValue(char* string){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
 		void  SetValue(char** stringarray,int M){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
