From e91553370f55a24ee6be294f97389a9eb4f3e703 Mon Sep 17 00:00:00 2001 From: Mahesh Natarajan Date: Thu, 5 Sep 2024 15:44:00 -0700 Subject: [PATCH] Minor change --- Exec/ParticleFilterTest/DarkMatterParticleContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Exec/ParticleFilterTest/DarkMatterParticleContainer.cpp b/Exec/ParticleFilterTest/DarkMatterParticleContainer.cpp index 5e469afd..139f8829 100644 --- a/Exec/ParticleFilterTest/DarkMatterParticleContainer.cpp +++ b/Exec/ParticleFilterTest/DarkMatterParticleContainer.cpp @@ -731,7 +731,7 @@ void store_dm_particle_single (amrex::ParticleContainer<1+AMREX_SPACEDIM, 0>::Su Real xlen, ylen, zlen; //printf("Value is %d\n", maxind); - int local_index=0; + int local_index=-1; for(int idir=-maxind[0];idir<=maxind[0];idir++) for(int jdir=-maxind[1];jdir<=maxind[1];jdir++) for(int kdir=-maxind[2];kdir<=maxind[2];kdir++)