Introduced recently in
658819431c0dabd while fixing issues for
upgrading clang-tidy version
Change-Id: I4c0dd4212e93cccf11f2ce60fbb500923eb136e9
int cj4_offset = ncj4;
int excl_offset = nexcl;
- for (const auto &nbl : nbls)
+ for (gmx::index i = n; i < nbls.ssize(); i++)
{
- sci_offset -= nbl.sci.size();
- cj4_offset -= nbl.cj4.size();
- excl_offset -= nbl.excl.size();
+ sci_offset -= nbls[i].sci.size();
+ cj4_offset -= nbls[i].cj4.size();
+ excl_offset -= nbls[i].excl.size();
}
const NbnxnPairlistGpu &nbli = nbls[n];