Article View: gnu.chess
Article #5134Re: Bug in 4PL68 eval.c
From: Ralf W. Stephan
Date: Sun, 20 Feb 1994 10:25
Date: Sun, 20 Feb 1994 10:25
22 lines
1195 bytes
1195 bytes
Roger Uzun writes:
> There is a problem in gnuchess 4pl68 around line 661, the slk
> code looks wrong, a mix of 2 fixes that will probably fail.
>...
> We should see:
> if ( !slk && (ply == 1 ||
^
|
> You should not do the code if slk is true...it would seem to me.
> Can someone tell me if 4pl68 is correct as is?
You're right. It is not correct as is. The bug is the missing
parens after the test for !slk.
> would you want to have the || slk after CheckEETable(side) ???
No. It is simply redundant.
Ralf 'waiting for Bordeaux' Stephan
Technical Details
Message-ID:
<1994Feb20.102541.433@ark.btbg.sub.de>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!subnet.sub.net!flatlin!pilhuhn!ark.btbg.sub.de!ralfReferences:
<CLF3C6.LKF@crash.cts.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,e2c0ababef50ab1a X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1994-02-20 02:25:41 PST Newsgroups: gnu.chess Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!subnet.sub.net!flatlin!pilhuhn!ark.btbg.sub.de!ralf From: ralf@ark.btbg.sub.de (Ralf W. Stephan) Subject: Re: Bug in 4PL68 eval.c References: <CLF3C6.LKF@crash.cts.com> Organization: his desk writing an article Date: Sun, 20 Feb 1994 10:25:41 GMT X-Newsreader: TIN [version 1.2 PL1] Message-ID: <1994Feb20.102541.433@ark.btbg.sub.de> Lines: 22