Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Shern Tee
2022-10-10 06:31:03 +00:00
committed by Ludwig Ahrens-Iwers
parent 928bbee97c
commit 812fa50196

View File

@ -115,7 +115,7 @@ void ElectrodeVector::compute_vector(double *vector)
void ElectrodeVector::pair_contribution(double *vector)
{
double const etaij = eta * eta / sqrt(2.0 * eta * eta);
double const etaij = eta * MY_ISQRT2;
double **x = atom->x;
double *q = atom->q;
int *type = atom->type;