Skip to content

Commit

Permalink
don't calculate hashfull until we can do it properly after removing c…
Browse files Browse the repository at this point in the history
…learin between searches
  • Loading branch information
Heiaha committed Aug 27, 2023
1 parent 644c4de commit 5fd70cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,15 +514,14 @@ impl<'a> Search<'a> {

let elapsed = self.timer.elapsed();

println!("info currmove {m} depth {depth} seldepth {sel_depth} time {time} score {score_str} nodes {nodes} nps {nps} hashfull {hashfull} pv {pv}",
println!("info currmove {m} depth {depth} seldepth {sel_depth} time {time} score {score_str} nodes {nodes} nps {nps} pv {pv}",
m = m,
depth = depth,
sel_depth = self.sel_depth,
time = elapsed.as_millis(),
score_str = score_str,
nodes = self.nodes,
nps = (self.nodes as f64 / elapsed.as_secs_f64()) as u64,
hashfull = self.tt.hashfull(),
pv = self.get_pv(board, depth));
}

Expand Down

0 comments on commit 5fd70cd

Please sign in to comment.