Skip to content

Commit

Permalink
Fix: print last lambda in lambda-loop
Browse files Browse the repository at this point in the history
  • Loading branch information
dyzheng committed Sep 2, 2024
1 parent c324dfb commit 8d99e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_hamilt_lcao/module_deltaspin/lambda_loop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ void SpinConstrain<std::complex<double>, base_device::DEVICE_CPU>::run_lambda_lo
inner_loop_duration += duration;
if (this->check_rms_stop(outer_step, i_step, rms_error, duration, inner_loop_duration))
{
add_scalar_multiply_2d(initial_lambda, dnu_last_step, 1.0, this->lambda_);
//add_scalar_multiply_2d(initial_lambda, dnu_last_step, 1.0, this->lambda_);
break;
}
#ifdef __MPI
Expand Down

0 comments on commit 8d99e96

Please sign in to comment.