Salome HOME
Merging with WPdev
[modules/smesh.git] / src / StdMeshers / StdMeshers_Distribution.cxx
index 989fcf3ced6cd7b4ed6db6c4cfdf0c4e5caebef1..6cfb7559784da6f7d36561980c09c3a634ecea29 100644 (file)
@@ -62,7 +62,7 @@ bool Function::value( const double, double& f ) const
 #else
     CASCatch_TRY {
 #endif
-      f = pow( 10, f );
+      f = pow( 10., f );
 #ifdef NO_CAS_CATCH
     } catch(Standard_Failure) {
 #else
@@ -213,7 +213,7 @@ FunctionExpr::~FunctionExpr()
 {
 }
 
-Standard_Boolean FunctionExpr::Value( Standard_Real T, Standard_Real& F )
+Standard_Boolean FunctionExpr::Value( const Standard_Real T, Standard_Real& F )
 {
   double f;
   Standard_Boolean res = value( T, f );