Skip to content

Commit 1779a4f

Browse files
committed
Minor test fix
1 parent ffc8ce5 commit 1779a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/smart-dispatch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def parse_arguments():
229229
parser.error("Unknown queue, --coresPerNode/--gpusPerNode and --walltime must be set.")
230230
if args.coresPerCommand < 1:
231231
parser.error("coresPerCommand must be at least 1")
232-
if args.memPerCommand is not None and args.memPerCommand < 0:
232+
if args.memPerCommand is not None and args.memPerCommand <= 0:
233233
parser.error("memPerCommand must be positive")
234234

235235
return args

0 commit comments

Comments
 (0)