Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:zSystems
python3-espressomd
array-bounds.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File array-bounds.patch of Package python3-espressomd
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; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor