[MOAB-dev] r1714 - MOAB/trunk/tools/dagmc
kraftche at mcs.anl.gov
kraftche at mcs.anl.gov
Fri Mar 28 09:14:17 CDT 2008
Author: kraftche
Date: 2008-03-28 09:14:17 -0500 (Fri, 28 Mar 2008)
New Revision: 1714
Modified:
MOAB/trunk/tools/dagmc/DagMC.cpp
Log:
fix use of unitialized values
Modified: MOAB/trunk/tools/dagmc/DagMC.cpp
===================================================================
--- MOAB/trunk/tools/dagmc/DagMC.cpp 2008-03-27 22:50:25 UTC (rev 1713)
+++ MOAB/trunk/tools/dagmc/DagMC.cpp 2008-03-28 14:14:17 UTC (rev 1714)
@@ -543,8 +543,8 @@
// Check for on-boundary case
diff = closest - point;
if (diff%diff <= epsilon*epsilon) {
+ u = v = w = 2;
return boundary_case( volume, result, u, v, w, facet, surface );
- return MB_SUCCESS;
}
// Get triangles at closest point
More information about the moab-dev
mailing list