Skip to content

Commit 708f578

Browse files
authored
Merge pull request AMReX-Astro#95 from nataraj2/HDF5_Lightcone
Minor change
2 parents d470ede + e915533 commit 708f578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Exec/ParticleFilterTest/DarkMatterParticleContainer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ void store_dm_particle_single (amrex::ParticleContainer<1+AMREX_SPACEDIM, 0>::Su
731731

732732
Real xlen, ylen, zlen;
733733
//printf("Value is %d\n", maxind);
734-
int local_index=0;
734+
int local_index=-1;
735735
for(int idir=-maxind[0];idir<=maxind[0];idir++)
736736
for(int jdir=-maxind[1];jdir<=maxind[1];jdir++)
737737
for(int kdir=-maxind[2];kdir<=maxind[2];kdir++)

0 commit comments

Comments
 (0)