Set the 'Problem' variable only at ply == 1
authorMarco Costalba <mcostalba@gmail.com>
Mon, 22 Dec 2008 10:44:00 +0000 (11:44 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 22 Dec 2008 10:44:00 +0000 (11:44 +0100)
commit3fafc9768ae47d0d5e963ade37a18b5a1d2a3b1f
tree37a4414693b93afed91f7c864d393328347be2ab
parent23490bd825d60564b1368b6a7e3df7d86a772bf0
Set the 'Problem' variable only at ply == 1

Bug fix merged from Glaurung 2.2 for search_pv()

Added the same fix also to sp_search_pv() where
was missing.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp