Comments (2)
Goodness me, you are completely correct of course. This is part of a line that is supposed to abort a game search if the position we are searching for has a home row black pawn (on squares a7 to h7) and during the game such a pawn moves (one square forward) - meaning that of course the game can never reach the target position. There are 8 lines of code like this - for each of black and white single pawn advance, double pawn advance, left capture and right capture. Only the black pawn, one square forward version has the bug.
The consequence of this is a small but significant performance penalty in the search. Fortunately the search results are unaffected.
Thank you very much for reporting this. In 2015 I made an effort to get to zero warnings (with MSVC compilers) and am surprised that this wasn't picked up by my compiler.
I will incorporate a fix into the next version.
from tarrasch-chess-gui.
Finally closing with pre-release V3.06a
from tarrasch-chess-gui.
Related Issues (20)
- Game window text highlight color should be a user setting, or at least changed HOT 3
- Insert null move HOT 3
- Position evaluation symbols in click menu could be laid out in numerical order
- Enable Unicode symbols for figurine notation
- Minor display issue with long engine name
- (Linux) No field for selecting engine in Engine panel
- database gui unadjustable
- Request to add feature where piece set can be changed
- Enhancement request: Chess960 castling rules HOT 4
- How do I quit the current engine? HOT 3
- Make broke on Ubuntu 18.04 install HOT 2
- Make broken in Ubuntu 20.04.5 HOT 2
- Invalid PGNs are accepted HOT 2
- Opening Options menu gets critical warning on Linux
- File->Open gets a bug reported in Linux
- Created a desktop file for Linux users HOT 1
- support chinese
- Text is blurry with Windows high DPI scaling.
- thc.cpp warnings about int vs size_t
- CompressMoves.cpp:417:13: error: β_itoaβ was not declared in this scope HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tarrasch-chess-gui.