properly use nullptr on pointers (with a little help from clang-tidy)

This commit is contained in:
Axel Kohlmeyer
2022-04-09 20:27:40 -04:00
parent 07bc76871c
commit ddf67ec42d
13 changed files with 44 additions and 44 deletions

View File

@ -384,7 +384,7 @@ void PairLJCutIntel::eval(const int offload, const int vflag,
if (EFLAG || vflag)
fix->add_result_array(f_start, ev_global, offload, eatom, 0, vflag);
else
fix->add_result_array(f_start, 0, offload);
fix->add_result_array(f_start, nullptr, offload);
}
/* ---------------------------------------------------------------------- */