Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python3-espressomd for openSUSE:Factory checked in at 2023-05-04 17:11:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-espressomd (Old) and /work/SRC/openSUSE:Factory/.python3-espressomd.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-espressomd" Thu May 4 17:11:40 2023 rev:18 rq:1084688 version:4.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python3-espressomd/python3-espressomd.changes 2023-04-19 17:43:16.644298254 +0200 +++ /work/SRC/openSUSE:Factory/.python3-espressomd.new.1533/python3-espressomd.changes 2023-05-04 17:11:48.572798815 +0200 @@ -1,0 +2,7 @@ +Wed Apr 26 18:06:17 UTC 2023 - Jean-Noel Grad <[email protected]> + +- Fix LB inertialess tracers bug, fix compiler warnings +- Add tracers.patch to fix LB inertialess tracers (gh#espressomd/espresso#4714) +- Add array-bounds.patch to fix compiler warnings (gh#espressomd/espresso#4715) + +------------------------------------------------------------------- New: ---- array-bounds.patch tracers.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-espressomd.spec ++++++ --- /var/tmp/diff_new_pack.d0bOLh/_old 2023-05-04 17:11:49.124802047 +0200 +++ /var/tmp/diff_new_pack.d0bOLh/_new 2023-05-04 17:11:49.128802071 +0200 @@ -44,6 +44,10 @@ Source: https://github.com/%{modname}/%{pkgname}/releases/download/%{version}/%{pkgname}-%{version}.tar.gz # PATCH-FIX-UPSTREAM setuptools.patch gh#espressomd/espresso#4709 Patch0: setuptools.patch +# PATCH-FIX-UPSTREAM tracers.patch gh#espressomd/espresso#4714 +Patch1: tracers.patch +# PATCH-FIX-UPSTREAM array-bounds.patch gh#espressomd/espresso#4715 +Patch2: array-bounds.patch # According to gh#espressomd/espresso#4537 32bit architectures are not supported any more ExcludeArch: %{ix86} BuildRequires: cmake ++++++ array-bounds.patch ++++++ diff --git a/src/core/p3m/interpolation.hpp b/src/core/p3m/interpolation.hpp index a25b0d8f66..0573648938 100644 --- a/src/core/p3m/interpolation.hpp +++ b/src/core/p3m/interpolation.hpp @@ -109,10 +109,10 @@ class p3m_interpolation_cache { InterpolationWeights<cao> ret; ret.ind = ca_fmp[i]; - auto const offset = ca_frac.data() + 3 * i * m_cao; - boost::copy(make_const_span(offset + 0 * m_cao, m_cao), ret.w_x.begin()); - boost::copy(make_const_span(offset + 1 * m_cao, m_cao), ret.w_y.begin()); - boost::copy(make_const_span(offset + 2 * m_cao, m_cao), ret.w_z.begin()); + auto const offset = ca_frac.data() + 3 * i * cao; + boost::copy(make_const_span(offset + 0 * cao, cao), ret.w_x.begin()); + boost::copy(make_const_span(offset + 1 * cao, cao), ret.w_y.begin()); + boost::copy(make_const_span(offset + 2 * cao, cao), ret.w_z.begin()); return ret; } ++++++ tracers.patch ++++++ 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
