mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Fix a bug in pawns eval tracing
Instead of totals we were showing white and black values. Spotted by Sven Schüle No functional change.
This commit is contained in:
parent
865b71309c
commit
c7cf45241c
1 changed files with 2 additions and 2 deletions
|
@ -961,8 +961,8 @@ Value do_evaluate(const Position& pos) {
|
|||
switch (idx) {
|
||||
case PST: case IMBALANCE: case PAWN: case TOTAL:
|
||||
ss << std::setw(20) << name << " | --- --- | --- --- | "
|
||||
<< std::setw(6) << to_cp(mg_value(wScore)) << " "
|
||||
<< std::setw(6) << to_cp(eg_value(wScore)) << " \n";
|
||||
<< std::setw(6) << to_cp(mg_value(wScore - bScore)) << " "
|
||||
<< std::setw(6) << to_cp(eg_value(wScore - bScore)) << " \n";
|
||||
break;
|
||||
default:
|
||||
ss << std::setw(20) << name << " | " << std::noshowpos
|
||||
|
|
Loading…
Add table
Reference in a new issue