Skip to content

Commit

Permalink
Do not iterate if max is 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
cianciosa committed Feb 13, 2024
1 parent 098c408 commit d3e2213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/evolution.f90
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ SUBROUTINE converge_diagonal(wout_file, ftol)
l_iterate = (fsq_ratio1 .le. 0.5_dp .and. &
fsq_total1 .gt. fsq_block .and. &
niter .lt. niter_max) .or. &
niter .eq. 1
(niter .eq. 1 .and. niter_max .ne. 1)

IF (.not.pert_added .and. fsq_total1.lt.100*fsq_block) THEN
l_init_state = .true.
Expand Down

0 comments on commit d3e2213

Please sign in to comment.