[cig-commits] r3989 - in long/3D/Gale/trunk/src/PICellerator: .
Voronoi/src
walter at geodynamics.org
walter at geodynamics.org
Sun Jul 9 00:17:03 PDT 2006
Author: walter
Date: 2006-07-09 00:17:03 -0700 (Sun, 09 Jul 2006)
New Revision: 3989
Modified:
long/3D/Gale/trunk/src/PICellerator/
long/3D/Gale/trunk/src/PICellerator/Voronoi/src/CellularAutomataVoronoi.c
Log:
r443 at earth: boo | 2006-07-09 00:13:35 -0700
r441 at earth (orig r356): WalterLandry | 2006-07-09 00:41:44 -0700
Fix a memory bug where not enough space was allocated
Property changes on: long/3D/Gale/trunk/src/PICellerator
___________________________________________________________________
Name: svk:merge
- 00de75e2-39f1-0310-8538-9683d00a49cc:/trunk:355
aee11096-cf10-0410-a191-eea5772ba81f:/cig:442
+ 00de75e2-39f1-0310-8538-9683d00a49cc:/trunk:356
aee11096-cf10-0410-a191-eea5772ba81f:/cig:443
Modified: long/3D/Gale/trunk/src/PICellerator/Voronoi/src/CellularAutomataVoronoi.c
===================================================================
--- long/3D/Gale/trunk/src/PICellerator/Voronoi/src/CellularAutomataVoronoi.c 2006-07-09 07:16:58 UTC (rev 3988)
+++ long/3D/Gale/trunk/src/PICellerator/Voronoi/src/CellularAutomataVoronoi.c 2006-07-09 07:17:03 UTC (rev 3989)
@@ -733,8 +733,8 @@
mesh's elements; I continue that assumption here. */
/* Need space for the coordinates that comprise this sub-cell. */
- gCrds = Memory_Alloc_2DArray( double, 4, 2, "" );
- lCrds = Memory_Alloc_2DArray( double, 4, 2, "" );
+ gCrds = Memory_Alloc_2DArray( double, 4, 3, "" );
+ lCrds = Memory_Alloc_2DArray( double, 4, 3, "" );
/* Calculate the volume of each cell. */
for( d_j = 0; d_j < res[1]; d_j++ ) {
More information about the cig-commits
mailing list