avoid FPE

This commit is contained in:
eap 2013-11-19 11:54:02 +00:00
parent 9b580c0bd0
commit 01fd947027

View File

@ -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 )
{