diff --git a/common/wave/equation/equation.cpp b/common/wave/equation/equation.cpp
index 1ffc5c851139b13217dbbad844759900f9a62118..f212a23ca974d61bc76b964638afd3ca3542398a 100644
--- a/common/wave/equation/equation.cpp
+++ b/common/wave/equation/equation.cpp
@@ -37,13 +37,13 @@ EquationInterface<T_Physic>::EquationInterface(const ConfigurationInterface* con
     {
       throw Exception("Equation integration degree (boundary) could not be found.");
     }
-    double buffer=0.;
+    int buffer=0;
     if(!gmshFem.userDefinedParameter(buffer, "equation_boundary"))
     {
         msg::warning << "Boundary are not considered in equations (default behaviour)." << msg::endl;
     }
-    if(buffer==0.){_boundary=false;}
-    else{_boundary=true;}
+    if(buffer==0){_boundary=false; msg::warning << "Boundary are not enabled in equations." << msg::endl;}
+    else{_boundary=true; msg::warning << "Boundary are enabled in equations." << msg::endl;}
 };
 
 template<Physic T_Physic>