mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 10:10:33 +05:00
avoid FPE
This commit is contained in:
parent
9b580c0bd0
commit
01fd947027
@ -399,6 +399,8 @@ namespace // internal utils
|
||||
if ( !isDone[ jLongest ] || !isConstSize )
|
||||
{
|
||||
//++nbLinks;
|
||||
if ( size < numeric_limits<double>::min() )
|
||||
continue;
|
||||
int nb = Max( 1, int( maxLinkLen / size / 2 ));
|
||||
for ( int k = 0; k <= nb; ++k )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user