Remove stalemate claim from MaxQi
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 2 Nov 2010 10:38:21 +0000 (11:38 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Tue, 2 Nov 2010 11:06:08 +0000 (12:06 +0100)
This was code that could not be triggered.

maxqi.c

diff --git a/maxqi.c b/maxqi.c
index 63c1119..cb7bc7e 100644 (file)
--- a/maxqi.c
+++ b/maxqi.c
@@ -330,10 +330,6 @@ int PrintResult(int s)
         }\r
         K=I;\r
         cnt = D(s,-I,I,Q,4*S,3);\r
-        if(cnt==0 && K==0 && L==0) {\r
-                printf("1/2-1/2 {Stalemate}\n");\r
-                return 2;\r
-        }\r
         if(cnt==-I+1) {\r
                 if (s == WHITE)\r
                         printf("0-1 {Black mates}\n");\r