[MOAB-dev] r1221 - MOAB/trunk/tools/dagmc
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Fri Jul 20 13:24:11 CDT 2007
Author: tautges
Date: 2007-07-20 13:24:11 -0500 (Fri, 20 Jul 2007)
New Revision: 1221
Modified:
MOAB/trunk/tools/dagmc/DagMC.cpp
Log:
Initializing normal to 0.0, from Paul Wilson.
Modified: MOAB/trunk/tools/dagmc/DagMC.cpp
===================================================================
--- MOAB/trunk/tools/dagmc/DagMC.cpp 2007-07-19 20:38:44 UTC (rev 1220)
+++ MOAB/trunk/tools/dagmc/DagMC.cpp 2007-07-20 18:24:11 UTC (rev 1221)
@@ -1285,7 +1285,7 @@
MBErrorCode rval = obbTree.closest_to_location( in_pt, root, tolerance(), facets );
assert(MB_SUCCESS == rval);
- MBCartVect coords[3], normal;
+ MBCartVect coords[3], normal(0.0);
const MBEntityHandle *conn;
int len;
for (unsigned i = 0; i < facets.size(); ++i) {
More information about the moab-dev
mailing list