mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 10:40:34 +05:00
Fixed Bug IPAL11054:
Application crashes if you set "-8" as f(t) in "Exponent" mode in "Hypothesis Construction"
This commit is contained in:
parent
79a81f3445
commit
4b49d04d08
@ -334,6 +334,10 @@ bool StdMeshersGUI_DistrPreview::convert( double& v ) const
|
|||||||
{
|
{
|
||||||
CASCatch_TRY
|
CASCatch_TRY
|
||||||
{
|
{
|
||||||
|
// in StdMeshers_NumberOfSegments.cc
|
||||||
|
// const double PRECISION = 1e-7;
|
||||||
|
//
|
||||||
|
if(v < -7) v = -7.0;
|
||||||
v = pow( 10.0, v );
|
v = pow( 10.0, v );
|
||||||
}
|
}
|
||||||
CASCatch_CATCH(Standard_Failure)
|
CASCatch_CATCH(Standard_Failure)
|
||||||
|
Loading…
Reference in New Issue
Block a user