Revision: 69036
http://sourceforge.net/p/brlcad/code/69036
Author: starseeker
Date: 2016-10-12 15:50:31 +0000 (Wed, 12 Oct 2016)
Log Message:
-----------
floating point comparison warning
Modified Paths:
--------------
brlcad/trunk/src/libanalyze/MeshHealing/Zipper.cpp
Modified: brlcad/trunk/src/libanalyze/MeshHealing/Zipper.cpp
===================================================================
--- brlcad/trunk/src/libanalyze/MeshHealing/Zipper.cpp 2016-10-12 14:32:21 UTC
(rev 69035)
+++ brlcad/trunk/src/libanalyze/MeshHealing/Zipper.cpp 2016-10-12 15:50:31 UTC
(rev 69036)
@@ -30,6 +30,7 @@
#include <utility>
#include <vector>
+#include "vmath.h"
#include "Geometry.h"
void
@@ -341,7 +342,7 @@
checkIfValidPQ(std::priority_queue<queue_element, std::vector<queue_element>,
compareDist> PQ)
{
while(!PQ.empty()) {
- if (PQ.top().dist != INT_MAX)
+ if (NEAR_EQUAL(PQ.top().dist, INT_MAX, SMALL_FASTF))
return true;
PQ.pop();
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits