|
From: | Petr Kadlec |
Subject: | [Bug-gnubg] Bug in "analyse move" |
Date: | Sat, 24 Apr 2004 23:22:16 +0200 |
Hi!I wanted to take a look at a bug I have reported some time ago (http://savannah.gnu.org/bugs/?func=detailitem&item_id=7009). I think I have found the cause, but as I am not aware of the internals of gnubg, I have not found a solution. The problem is that in AnalyzeMove (analysis.c, somewhere around line 943), evaluation of accept or drop is done (if I understand) using a local static variable esDouble, that gets initialized during analysis of the preceding double. But if the analysis is invoked on a single move (by the user), the preceding double/drop have possibly not been analysed, so that the code reads in fact unitialized variables.
Maybe someone could take a look at that. Petr --So when the machine truncates excess bits, it throws them under the raised floor. - Fred Felber (so THAT's why there are raised floors in computer rooms.)
[Prev in Thread] | Current Thread | [Next in Thread] |