From 7c2c455a835c9b21247be175e21de35d49dbc71a Mon Sep 17 00:00:00 2001 From: Adrian Hurtado Date: Fri, 8 Sep 2023 08:49:27 -0400 Subject: [PATCH] fix by negating x again and negating the whole answer --- src/apps/molresponse/FrequencyResponse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/molresponse/FrequencyResponse.cpp b/src/apps/molresponse/FrequencyResponse.cpp index 70d2a4d0a20..20e1e3d9b79 100644 --- a/src/apps/molresponse/FrequencyResponse.cpp +++ b/src/apps/molresponse/FrequencyResponse.cpp @@ -638,7 +638,7 @@ Tensor QuadraticResponse::compute_beta(World &world) { cout << beta << endl; } - return 2 * beta; + return -2.0 * beta; } std::pair QuadraticResponse::compute_first_order_fock_matrix_terms(World &world, const X_space &A,