Commits

Anonymous committed 66bc183 Merge

merged.

Comments (0)

Files changed (2)

src/enzo/AllocateMemoryPools.C

File contents unchanged.

src/enzo/Grid_MoveAllParticles.C

 #ifndef MEMORY_POOL
   // classic: use system malloc to get memory
   float *Mass = new float[TotalNumberOfParticles];
-  Number = new PINT[TotalNumberOfParticles];
-  Type = new int[TotalNumberOfParticles];
+  PINT *Number = new PINT[TotalNumberOfParticles];
+  int *Type = new int[TotalNumberOfParticles];
   for (int dim = 0; dim < GridRank; dim++) {
     Position[dim] = new FLOAT[TotalNumberOfParticles];
     Velocity[dim] = new float[TotalNumberOfParticles];