[cgma-dev] r3607 - cgm/trunk/itaps
jvporter at wisc.edu
jvporter at wisc.edu
Fri Mar 12 16:59:46 CST 2010
Author: jvporter
Date: 2010-03-12 16:59:46 -0600 (Fri, 12 Mar 2010)
New Revision: 3607
Modified:
cgm/trunk/itaps/iGeom_CGMA.cc
Log:
Fix ALLOC_CHECK_ARRAY size in iGeom_isArrPeriodic
Modified: cgm/trunk/itaps/iGeom_CGMA.cc
===================================================================
--- cgm/trunk/itaps/iGeom_CGMA.cc 2010-03-12 22:11:19 UTC (rev 3606)
+++ cgm/trunk/itaps/iGeom_CGMA.cc 2010-03-12 22:59:46 UTC (rev 3607)
@@ -5254,7 +5254,7 @@
int *in_uv_size,
int* err)
{
- ALLOC_CHECK_ARRAY( in_uv, entity_handles_size );
+ ALLOC_CHECK_ARRAY( in_uv, 2*entity_handles_size );
RefEntity** ents = (RefEntity**)entity_handles;
for (int i = 0; i < entity_handles_size; ++i) {
CubitStatus s = iGeom_is_periodic( ents[i], (*in_uv)[2*i], (*in_uv)[2*i+1] );
More information about the cgma-dev
mailing list