more clang-tidy fixes after re-running it with added settings

This commit is contained in:
Axel Kohlmeyer
2022-05-14 06:15:41 -04:00
parent 2f0baa86d6
commit d4ea5ca49e
66 changed files with 117 additions and 229 deletions

View File

@ -64,10 +64,7 @@ bool Neighbor::init(NeighborShared *shared, const int inum,
// Not yet implemented
assert(0==1);
if (pre_cut || gpu_nbor==0)
_alloc_packed=true;
else
_alloc_packed=false;
_alloc_packed = pre_cut || gpu_nbor==0;
if (pre_cut)
_packed_permissions=UCL_READ_WRITE;