forked from pool/python3-espressomd
Matej Cepl
4bb6cb65fd
Fix LB inertialess tracers bug, fix compiler warnings OBS-URL: https://build.opensuse.org/request/show/1084332 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python3-espressomd?expand=0&rev=47
14 lines
592 B
Diff
14 lines
592 B
Diff
diff --git a/src/core/virtual_sites/lb_inertialess_tracers.cpp b/src/core/virtual_sites/lb_inertialess_tracers.cpp
|
|
index 5aae5af66c..b87b2d4232 100644
|
|
--- a/src/core/virtual_sites/lb_inertialess_tracers.cpp
|
|
+++ b/src/core/virtual_sites/lb_inertialess_tracers.cpp
|
|
@@ -92,7 +92,7 @@ void IBM_UpdateParticlePositions(ParticleRange const &particles,
|
|
// Euler integrator
|
|
for (auto &p : particles) {
|
|
if (p.is_virtual()) {
|
|
- for (int axis = 0; axis < 2; axis++) {
|
|
+ for (int axis = 0; axis < 3; axis++) {
|
|
#ifdef EXTERNAL_FORCES
|
|
if (not p.is_fixed_along(axis))
|
|
#endif
|