Changeset 338
- Timestamp:
- 03/26/08 19:25:46 (8 months ago)
- Files:
-
- 1 modified
-
trunk/matml/src/ternary/qhull.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/matml/src/ternary/qhull.c
r335 r338 87 87 to typically be the binaries). +*/ 88 88 *numfacets = qh num_facets; 89 #ifdef DEBUG 89 90 printf ("%d total facets\n", *numfacets); 90 91 printf ("facetverts: pre-realloc 0x%lx, ", *facetverts); 92 #endif 91 93 if (!(*facetverts = realloc (*facetverts, *numfacets * 3 * sizeof (int)))) 92 94 { printf ("qhullCalcHull: could not reallocate memory for vertices\n"); 93 95 return -1; } 96 #ifdef DEBUG 94 97 printf ("post-realloc 0x%lx\n", *facetverts); 98 #endif 95 99 96 100 i=0;