Commits

John Wise  committed 828d335

Now it compiles with ACTIVE_PARTICLE_IMPLEMENTED defined.

  • Participants
  • Parent commits 21fca28

Comments (0)

Files changed (1)

File src/enzo/EvolveLevel.C

 
     /* Initialize the star particles */
 
+    Star *AllStars = NULL;
 #ifdef ACTIVE_PARTICLE_IMPLEMENTED
     ActiveParticleInitialize(Grids, MetaData, NumberOfGrids, LevelArray,
 	                     level, TotalStarParticleCountPrevious);
 #else
-    Star *AllStars = NULL;
     StarParticleInitialize(Grids, MetaData, NumberOfGrids, LevelArray,
 			   level, AllStars, TotalStarParticleCountPrevious);
 #endif