Skip to content
Snippets Groups Projects
Commit 7ba19d49 authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 19/01/2024: bugfix: IO_SYNC_MODELS_INT: step conversion was wrong

parent ecd49739
No related branches found
No related tags found
No related merge requests found
......@@ -534,7 +534,7 @@ SUBROUTINE IO_SYNC_MODELS_INT(KNUMB,KSTEPS)
CALL FIND_NEXT_AVAIL_SLOT_INT(KSTEPS(JKLOOP,:),IDX)
! Use of NINT and real to prevent rounding errors
! (STEP-1)* ... +1 because step numbers begin at 1
KSTEPS(JKLOOP,IDX) = (KSTEPS(IMI,JOUT)-1) * NINT( DYN_MODEL(JKLOOP)%XTSTEP/DYN_MODEL(IMI)%XTSTEP ) + 1
KSTEPS(JKLOOP,IDX) = (KSTEPS(IMI,JOUT)-1) * NINT( DYN_MODEL(IMI)%XTSTEP/DYN_MODEL(JKLOOP)%XTSTEP ) + 1
END DO
END IF
END DO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment