From 812fa5019669951287f51d490c08313bbf0fe210 Mon Sep 17 00:00:00 2001 From: Shern Tee Date: Mon, 10 Oct 2022 06:31:03 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- src/ELECTRODE/electrode_vector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ELECTRODE/electrode_vector.cpp b/src/ELECTRODE/electrode_vector.cpp index 4e55f2ef23..07797d7a46 100644 --- a/src/ELECTRODE/electrode_vector.cpp +++ b/src/ELECTRODE/electrode_vector.cpp @@ -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;