From 7fe804d19d24ebd1cf50c90d0cc0cf526e4b4564 Mon Sep 17 00:00:00 2001 From: Evangelos Voyiatzis Date: Mon, 10 Feb 2025 19:00:21 +0200 Subject: [PATCH] change chi to chi0 in improper_cossq_omp.cpp --- src/OPENMP/improper_cossq_omp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OPENMP/improper_cossq_omp.cpp b/src/OPENMP/improper_cossq_omp.cpp index 4ccc0d730a..7f294522fa 100644 --- a/src/OPENMP/improper_cossq_omp.cpp +++ b/src/OPENMP/improper_cossq_omp.cpp @@ -134,7 +134,7 @@ void ImproperCossqOMP::eval(int nfrom, int nto, ThrData * const thr) /* Calculate the angle: */ double torangle = acos(cosphi); - cosphi = cos(torangle - chi[type]); + cosphi = cos(torangle - chi0[type]); if (EFLAG) eimproper = 0.5 * k[type] * cosphi * cosphi;