crafty bug in annotate
Moderators: hgm, Rebel, chrisw
-
- Posts: 778
- Joined: Sat Jul 01, 2006 7:11 am
crafty bug in annotate
If a pgn file has a fen string for the start position, annotate fails on the next file (or if DEBUG is defined, it gives a message "ERROR! hash_key is bad" on the first move after the FEN). I think that the problem is that [FEN fen] sets initial_position to the fen string, and it is not reset to "" at the end of the game.
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: crafty bug in annotate
I'll take a look. I really only annotate complete games that start from the normal starting position myself, since those include all moves and therefore repetition info.jwes wrote:If a pgn file has a fen string for the start position, annotate fails on the next file (or if DEBUG is defined, it gives a message "ERROR! hash_key is bad" on the first move after the FEN). I think that the problem is that [FEN fen] sets initial_position to the fen string, and it is not reset to "" at the end of the game.