revert changes in improper_cossq_omp.cpp - they are not needed

This commit is contained in:
Evangelos Voyiatzis
2025-02-11 16:11:52 +02:00
committed by GitHub
parent b94d82d7b1
commit afaff7199b

View File

@ -134,7 +134,7 @@ void ImproperCossqOMP::eval(int nfrom, int nto, ThrData * const thr)
/* Calculate the angle: */
double torangle = acos(cosphi);
cosphi = cos(torangle - chi0[type]);
cosphi = cos(torangle - chi[type]);
if (EFLAG) eimproper = 0.5 * k[type] * cosphi * cosphi;