Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into gni/evolution
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_Distribution.cxx
diff --git
a/src/StdMeshers/StdMeshers_Distribution.cxx
b/src/StdMeshers/StdMeshers_Distribution.cxx
index 5c7e4bd6fb7928de323659e67a5ff3c88f95a7ac..cbe591e16e41c27c9e6c897d3342fc4fdadaab86 100644
(file)
--- a/
src/StdMeshers/StdMeshers_Distribution.cxx
+++ b/
src/StdMeshers/StdMeshers_Distribution.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
19
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
21
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-55,7
+55,7
@@
bool Function::value( const double, double& f ) const
try {
OCC_CATCH_SIGNALS;
f = pow( 10., f );
try {
OCC_CATCH_SIGNALS;
f = pow( 10., f );
- } catch(Standard_Failure) {
+ } catch(Standard_Failure
&
) {
f = 0.0;
ok = false;
}
f = 0.0;
ok = false;
}
@@
-185,7
+185,7
@@
FunctionExpr::FunctionExpr( const char* str, const int conv )
OCC_CATCH_SIGNALS;
myExpr = ExprIntrp_GenExp::Create();
myExpr->Process( ( Standard_CString )str );
OCC_CATCH_SIGNALS;
myExpr = ExprIntrp_GenExp::Create();
myExpr->Process( ( Standard_CString )str );
- } catch(Standard_Failure) {
+ } catch(Standard_Failure
&
) {
ok = false;
}
ok = false;
}
@@
-217,7
+217,7
@@
bool FunctionExpr::value( const double t, double& f ) const
try {
OCC_CATCH_SIGNALS;
f = myExpr->Expression()->Evaluate( myVars, myValues );
try {
OCC_CATCH_SIGNALS;
f = myExpr->Expression()->Evaluate( myVars, myValues );
- } catch(Standard_Failure) {
+ } catch(Standard_Failure
&
) {
f = 0.0;
ok = false;
}
f = 0.0;
ok = false;
}
@@
-235,7
+235,7
@@
double FunctionExpr::integral( const double a, const double b ) const
( *static_cast<math_Function*>( const_cast<FunctionExpr*> (this) ), a, b, 20 );
if( _int.IsDone() )
res = _int.Value();
( *static_cast<math_Function*>( const_cast<FunctionExpr*> (this) ), a, b, 20 );
if( _int.IsDone() )
res = _int.Value();
- } catch(Standard_Failure) {
+ } catch(Standard_Failure
&
) {
res = 0.0;
MESSAGE( "Exception in integral calculating" );
}
res = 0.0;
MESSAGE( "Exception in integral calculating" );
}