[cgma-dev] r3244 - cgm/trunk/itaps
jvporter at wisc.edu
jvporter at wisc.edu
Mon Oct 26 13:58:31 CDT 2009
Author: jvporter
Date: 2009-10-26 13:58:31 -0500 (Mon, 26 Oct 2009)
New Revision: 3244
Modified:
cgm/trunk/itaps/iGeom_CGMA.cc
Log:
Fix segfault in iGeom_getArrTolerance
Modified: cgm/trunk/itaps/iGeom_CGMA.cc
===================================================================
--- cgm/trunk/itaps/iGeom_CGMA.cc 2009-10-26 15:42:27 UTC (rev 3243)
+++ cgm/trunk/itaps/iGeom_CGMA.cc 2009-10-26 18:58:31 UTC (rev 3244)
@@ -3824,7 +3824,7 @@
CHECK_SIZE(*tolerances, double, gentity_handles_size);
double dum_abs_tol = gqt->get_sme_resabs_tolerance();
for (int i = 0; i < gentity_handles_size; i++) {
- (*tolerances[i]) = dum_abs_tol;
+ (*tolerances)[i] = dum_abs_tol;
}
RETURN(iBase_SUCCESS);
}
More information about the cgma-dev
mailing list