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

@ -81,7 +81,7 @@ void VerletLRTIntel::init()
void VerletLRTIntel::setup(int flag)
{
if (_intel_kspace == 0) {
if (_intel_kspace == nullptr) {
Verlet::setup(flag);
return;
}
@ -202,7 +202,7 @@ void VerletLRTIntel::setup(int flag)
void VerletLRTIntel::run(int n)
{
if (_intel_kspace == 0) {
if (_intel_kspace == nullptr) {
Verlet::run(n);
return;
}