properly use nullptr on pointers (with a little help from clang-tidy)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user