From a2978f293dc001cfcbc570074150dfe501f1ebf0 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Tue, 25 Sep 2018 17:11:09 +0200 Subject: [PATCH] Fix typo in cstsp.cs --- examples/dotnet/cstsp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dotnet/cstsp.cs b/examples/dotnet/cstsp.cs index a4372d6145..8cbe901be0 100644 --- a/examples/dotnet/cstsp.cs +++ b/examples/dotnet/cstsp.cs @@ -107,7 +107,7 @@ class Tsp size = Convert.ToInt32(args[0]); } int forbidden = 0; - if (args.Length > 0) { + if (args.Length > 1) { forbidden = Convert.ToInt32(args[1]); } int seed = 0;