Fixed Bug IPAL11054:

Application crashes if you set "-8" as f(t) in "Exponent" mode in "Hypothesis Construction"
This commit is contained in:
enk 2006-03-07 12:11:17 +00:00
parent 79a81f3445
commit 4b49d04d08

View File

@ -334,6 +334,10 @@ bool StdMeshersGUI_DistrPreview::convert( double& v ) const
{
CASCatch_TRY
{
// in StdMeshers_NumberOfSegments.cc
// const double PRECISION = 1e-7;
//
if(v < -7) v = -7.0;
v = pow( 10.0, v );
}
CASCatch_CATCH(Standard_Failure)