Skip to content

Commit

Permalink
fix by negating x again and negating the whole answer
Browse files Browse the repository at this point in the history
  • Loading branch information
ahurta92 committed Sep 8, 2023
1 parent 42d46e1 commit 7c2c455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/molresponse/FrequencyResponse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ Tensor<double> QuadraticResponse::compute_beta(World &world) {
cout << beta << endl;
}

return 2 * beta;
return -2.0 * beta;
}

std::pair<X_space, X_space> QuadraticResponse::compute_first_order_fock_matrix_terms(World &world, const X_space &A,
Expand Down

0 comments on commit 7c2c455

Please sign in to comment.