Skip to content

Commit

Permalink
Passes through first case
Browse files Browse the repository at this point in the history
  • Loading branch information
ahurta92 committed Jul 1, 2024
1 parent 225ef8e commit adb4d50
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/apps/molresponse/FrequencyResponse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,16 @@ Tensor<double> QuadraticResponse::compute_beta(World &world)
{
molresponse::end_timer(world, "V(BC) and V(CB)");
}
return compute_beta_tensor(world, zeta_bc_left, zeta_bc_right, zeta_cb_left, zeta_cb_right, XA, VBC);
if (r_params.print_level() >= 1)
{
molresponse::start_timer(world);
}
auto beta = compute_beta_tensor(world, zeta_bc_left, zeta_bc_right, zeta_cb_left, zeta_cb_right, XA, VBC);
if (r_params.print_level() >= 1)
{
molresponse::end_timer(world, "compute_beta_tensor");
}
return beta;
}

// computes <phi0|Fa|phi0> * XB
Expand Down

0 comments on commit adb4d50

Please sign in to comment.