aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index 9dd49017a..680d794c6 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -176,7 +176,7 @@ namespace
#else
pos.x = 0.0_rt;
pos.y = 0.0_rt;
- pos.z = lo_corner[0] + (iv[0]+r.z)*dx[0];
+ pos.z = lo_corner[0] + (iv[0]+r.x)*dx[0];
#endif
return pos;
}