[brlcad-commits] SF.net SVN: brlcad:[43311] brlcad/trunk/src/rt/heatgraph.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2011-02-15 07:25:46
|
Revision: 43311 http://brlcad.svn.sourceforge.net/brlcad/?rev=43311&view=rev Author: brlcad Date: 2011-02-15 07:25:40 +0000 (Tue, 15 Feb 2011) Log Message: ----------- technically more simple to just test for less than zero .. though unsafe. (some comparisons need to compare against +-SMALL_FASTF instead of 0) Modified Paths: -------------- brlcad/trunk/src/rt/heatgraph.c Modified: brlcad/trunk/src/rt/heatgraph.c =================================================================== --- brlcad/trunk/src/rt/heatgraph.c 2011-02-15 07:22:48 UTC (rev 43310) +++ brlcad/trunk/src/rt/heatgraph.c 2011-02-15 07:25:40 UTC (rev 43311) @@ -291,7 +291,7 @@ bu_log("MaxX =%d MaxY =%d\n", maxX, maxY); for (x = 0; x < maxX; x++) { for (y = 0; y < maxY; y++) { - if (timeTable[x][y] > 0.0 || ZERO(timeTable[x][y])) { + if (!(timeTable[x][y] < 0.0)) { /* Semaphore acquire goes here */ if (timeTable[x][y] > maxTime) maxTime = timeTable[x][y]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |