X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.h;fp=src%2Fmaterial.h;h=5e6419458e7dc8dcf7c678f3fe8b8aafa97a2f27;hp=7fea5e7d2557e7d1d705f504aaade56b5ea593fb;hb=4bd24da161fa7fdac4283438e86e9fd923c3493a;hpb=53c07c34bb0aba765e1add91bbc932dfce9bae52 diff --git a/src/material.h b/src/material.h index 7fea5e7d..5e641945 100644 --- a/src/material.h +++ b/src/material.h @@ -56,9 +56,9 @@ struct Entry { } Key key; - EndgameBase* evaluationFunction; - EndgameBase* scalingFunction[COLOR_NB]; // Could be one for each - // side (e.g. KPKP, KBPsKs) + const EndgameBase* evaluationFunction; + const EndgameBase* scalingFunction[COLOR_NB]; // Could be one for each + // side (e.g. KPKP, KBPsKs) int16_t value; uint8_t factor[COLOR_NB]; Phase gamePhase;