diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/grossmeister/search.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/grossmeister/search.rs b/src/grossmeister/search.rs index a4b6707..c81c586 100644 --- a/src/grossmeister/search.rs +++ b/src/grossmeister/search.rs @@ -269,7 +269,9 @@ impl Grossmeister { if depth > 0 { if let Some(transposition) = self.transposition().cloned() { if let Some(mov) = transposition.mov { - debug_assert!(transposition.depth >= depth, "TTable node should be at least as deep as we expect"); + if transposition.depth < depth { + println!("info string found lower-depth {:?}-node ({}) than expected ({}). Probably bad", transposition.node_type, transposition.depth, depth); + } if transposition.depth > depth { println!("info string found higher-depth {:?}-node ({}) than expected ({}). Good for us?", transposition.node_type, transposition.depth, depth); } |