-
-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Description
I am not yet familiar enough with the code to say with certainty this is a problem. But in the init function of psqt.cpp the piece values get adapted to the variant, e.g. for the board size. I would have expected that these recalculated values are then assigned back to PieceValue. But I cannot find that anywhere. They are assigned to CapturePieceValue and EvalPieceValue (for both colors!). The former is only used in SEE, for the latter I could not find any usage at all! This is a bit suspect. Shouldn't the modified values have been assigned to PieceValue instead of EvalPieceValue? That would seem a more natural solution to the bug you just fixed. Why recalculate all these values, and then do not anything with them?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels