From a6120d5120e7588e2cc5a269220e2bddcc7c45d8 Mon Sep 17 00:00:00 2001 From: nguyenta Date: Sun, 10 Mar 2024 15:23:44 +0100 Subject: [PATCH] Update runSWATpar.R --- R/runSWATpar.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/runSWATpar.R b/R/runSWATpar.R index 16bdc16..f89bfb7 100644 --- a/R/runSWATpar.R +++ b/R/runSWATpar.R @@ -185,7 +185,7 @@ runSWATSequential <- function(coreNumber, # Call swat.exe file exeFile <- basename(swatExe) - if(!file.exists(exeFile) file.copy(swatExe, toDir) + if(!file.exists(exeFile)) file.copy(swatExe, toDir) # Check platform if(.Platform$OS.type == "unix") {