Offset pv[] always from 0

We don't need to offset from current ply.

Also rewritten a bit update_pv()

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-06-04 09:46:38 +02:00
parent 452f0d1696
commit a04dcce628
2 changed files with 35 additions and 39 deletions

View File

@@ -60,7 +60,7 @@ struct SearchStack {
Value eval;
bool skipNullMove;
void init(int ply);
void init();
void initKillers();
};