Skip to content

Commit

Permalink
Adjust loop indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanDavies19 committed Oct 17, 2023
1 parent 6422a88 commit c77b2fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/moordyn/src/MoorDyn.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2166,8 +2166,8 @@ SUBROUTINE MD_Init(InitInp, u, p, x, xd, z, other, y, m, DTcoupling, InitOut, Er
! check for non-convergence

DO l = 1, p%nLines
DO K = 1,9
IF ( abs( FairTensIC(l,1)/FairTensIC(l,K+1) - 1.0 ) > InputFileDat%threshIC ) THEN
DO K = 2,10
IF ( abs( FairTensIC(l,1)/FairTensIC(l,K) - 1.0 ) > InputFileDat%threshIC ) THEN
Converged = 0
EXIT
END IF
Expand Down

0 comments on commit c77b2fb

Please sign in to comment.