diff --git a/sources/io.F90 b/sources/io.F90 index 0e4b900..086df8b 100644 --- a/sources/io.F90 +++ b/sources/io.F90 @@ -347,7 +347,7 @@ module io ! check the last available restart snapshot ! - if (nrest < 0) then + if (nrest == 0) then test = .true. nrest = 0