use auto type when assigning from cast or using new
This commit is contained in:
@ -88,8 +88,8 @@ double PairGaussOMP::eval(int iifrom, int iito, ThrData * const thr)
|
||||
|
||||
evdwl = 0.0;
|
||||
|
||||
const dbl3_t * _noalias const x = (dbl3_t *) atom->x[0];
|
||||
dbl3_t * _noalias const f = (dbl3_t *) thr->get_f()[0];
|
||||
const auto * _noalias const x = (dbl3_t *) atom->x[0];
|
||||
auto * _noalias const f = (dbl3_t *) thr->get_f()[0];
|
||||
const int * _noalias const type = atom->type;
|
||||
const int nlocal = atom->nlocal;
|
||||
double fxtmp,fytmp,fztmp;
|
||||
|
||||
Reference in New Issue
Block a user