- pos.this_thread()->trend = SCORE_ZERO; // Reset any dynamic contempt
- pos.this_thread()->bestValue = VALUE_ZERO; // Reset bestValue for lazyEval
+ // Reset any global variable used in eval
+ pos.this_thread()->trend = SCORE_ZERO;
+ pos.this_thread()->bestValue = VALUE_ZERO;
+ pos.this_thread()->optimism[WHITE] = VALUE_ZERO;
+ pos.this_thread()->optimism[BLACK] = VALUE_ZERO;