X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.h;h=5e6419458e7dc8dcf7c678f3fe8b8aafa97a2f27;hp=7fea5e7d2557e7d1d705f504aaade56b5ea593fb;hb=c4c2e08f0d71c8e8f0bdfcb988a42b33243fd2ca;hpb=9afa1d73306cb98e95acec5daf4efd65e592ceff 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;