[MOAB-dev] r3317 - MOAB/trunk
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Mon Nov 9 16:57:53 CST 2009
Author: kraftche
Date: 2009-11-09 16:57:52 -0600 (Mon, 09 Nov 2009)
New Revision: 3317
Modified:
MOAB/trunk/MBCN.cpp
Log:
fix stupid mistake
Modified: MOAB/trunk/MBCN.cpp
===================================================================
--- MOAB/trunk/MBCN.cpp 2009-11-09 22:54:19 UTC (rev 3316)
+++ MOAB/trunk/MBCN.cpp 2009-11-09 22:57:52 UTC (rev 3317)
@@ -227,7 +227,7 @@
{
int parent_num_verts = MBCN::VerticesPerEntity(parent_type);
int side_indices[8];
- assert(sizeof(side_indices)/sizeof(side_indices[0]) <= (size_t)child_num_verts);
+ assert(sizeof(side_indices)/sizeof(side_indices[0]) >= (size_t)child_num_verts);
for (int i = 0; i < child_num_verts; i++) {
side_indices[i] = std::find(parent_conn, parent_conn+parent_num_verts, child_conn[i]) - parent_conn;
More information about the moab-dev
mailing list