FEM: Use std::numeric_limits and std::numbers instead of defines
This commit is contained in:
@@ -75,7 +75,10 @@ using Adaptor3d_HSurface = Adaptor3d_Surface;
|
||||
using BRepAdaptor_HSurface = BRepAdaptor_Surface;
|
||||
#endif
|
||||
|
||||
static const App::PropertyFloatConstraint::Constraints scaleConstraint = {0.0, DBL_MAX, 0.1};
|
||||
static const App::PropertyFloatConstraint::Constraints scaleConstraint = {
|
||||
0.0,
|
||||
std::numeric_limits<double>::max(),
|
||||
0.1};
|
||||
|
||||
PROPERTY_SOURCE(Fem::Constraint, App::DocumentObject)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user