Skip to content

Commit

Permalink
limit to maxsub+3
Browse files Browse the repository at this point in the history
  • Loading branch information
ahurta92 committed Jul 1, 2024
1 parent 60097c9 commit dd3cb83
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 @@ -273,7 +273,7 @@ auto FrequencyResponse::update_response(World &world, X_space &chi, XCOperator<d

auto [new_res, bsh_norms] = update_residual(world, chi, new_chi, r_params.calc_type(), old_residuals, xres_old);
inner_to_json(world, "r_x", response_context.inner(new_res, new_res), iter_function_data);
if (iteration >= 0 && iteration <r_params.maxsub()+5) {// & (iteration % 3 == 0)) {
if (iteration >= 0 && iteration <r_params.maxsub()+3) {// & (iteration % 3 == 0)) {
new_chi = kain_x_space_update(world, chi, new_res, kain_x_space);
}
chi_norm=new_chi.norm2s();
Expand Down

0 comments on commit dd3cb83

Please sign in to comment.