Skip to content

Commit

Permalink
Fix beta json output and
Browse files Browse the repository at this point in the history
  • Loading branch information
ahurta92 committed Jul 1, 2024
1 parent eb4915e commit 8ff6b33
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/apps/molresponse/maddft/response_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1162,9 +1162,7 @@ class ResponseCalcManager

nlohmann::ordered_json beta_entry;

std::array<double, 10> beta_vector{};
std::copy(beta_abc.ptr(), beta_abc.ptr() + 10, beta_vector.begin());
append_to_beta_json({-1.0 * omega_a, omega_b, omega_c}, beta_vector, beta_json);
append_to_beta_json({-1.0 * omega_a, omega_b, omega_c}, beta_directions, beta, beta_json);

std::ofstream outfile("beta.json");
if (outfile.is_open())
Expand Down

0 comments on commit 8ff6b33

Please sign in to comment.