[osg-users] division by zero in include/osgDB/DatabasePager

Csaba Halász csaba.halasz at gmail.com
Thu Mar 5 17:49:38 PST 2009


Hi!

More division by zero trouble, this time in
include/osgDB/DatabasePager line 331:
double getAverageTimeToMergeTiles() const { return
_totalTimeToMergeTiles/static_cast<double>(_numTilesMerges); }

Obviously divides by zero if _numTilesMerges is zero.

-- 
Csaba



More information about the osg-users mailing list