consistently compare atom->molecular against enumerator constants
This commit is contained in:
@ -161,7 +161,7 @@ void PairBornGPU::init_style()
|
||||
double cell_size = sqrt(maxcut) + neighbor->skin;
|
||||
|
||||
int maxspecial=0;
|
||||
if (atom->molecular)
|
||||
if (atom->molecular != Atom::ATOMIC)
|
||||
maxspecial=atom->maxspecial;
|
||||
int mnf = 5e-2 * neighbor->oneatom;
|
||||
int success = born_gpu_init(atom->ntypes+1, cutsq, rhoinv,
|
||||
|
||||
Reference in New Issue
Block a user