Read this page http://www.openscenegraph.org/projects/osg/wiki/MailingLists/SubmissionsProtocol
Gordon Product Manager 3d __________________________________________________________ Gordon Tomlinson Email : gtomlinson @ overwatch.textron.com __________________________________________________________ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Csaba Halász Sent: Thursday, March 12, 2009 12:03 PM To: OpenSceneGraph Users Subject: Re: [osg-users] division by zero in osgParticle/FluidProgram.cpp On Thu, Mar 5, 2009 at 4:16 AM, Csaba Halász <[email protected]> wrote: > Hi! > > If wind_accel has zero length, then line 43 > > double critical_dt2 = relative_wind.length2()/wind_accel.length2(); > > will attempt a divide by zero. A simple fix would be to check for zero > but that would still leave the possibility of an overflow if the > divisor is small. So a more clever check would be nice. Any > suggestions? Sorry for the "UP", but with a planned 2.8.1 bugfix release, I wonder if at least the trivial fix for this could be applied, if nobody has a better idea. Same goes for the other div-by-zero I reported. -- Csaba/Jester _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

