From 4f45830736769973c5aa1270bb49b7e3c478cfbf Mon Sep 17 00:00:00 2001 From: Bhavin Patel <15210802+bpatel2107@users.noreply.github.com> Date: Thu, 11 Jul 2024 10:51:43 +0100 Subject: [PATCH] Make default QLGYRO not restart linear runs --- qlgyro/src/qlgyro_cgyro_cleanup.F90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qlgyro/src/qlgyro_cgyro_cleanup.F90 b/qlgyro/src/qlgyro_cgyro_cleanup.F90 index 4dc6aa125..614aba3eb 100644 --- a/qlgyro/src/qlgyro_cgyro_cleanup.F90 +++ b/qlgyro/src/qlgyro_cgyro_cleanup.F90 @@ -103,7 +103,7 @@ subroutine qlgyro_cgyro_cleanup if (adjoint .eq. 0) then open(unit=io, iostat=i_err, file=trim(runpath)//runfile_restart_tag, status='old') if (i_err == 0) close(io, status='delete') - if (restart_mode .eq. 1) then + if (restart_mode .eq. 0) then open(unit=io, iostat=i_err, file=trim(runpath)//runfile_restart, status='old') if (i_err == 0) close(io, status='delete') end if