X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.h;h=8b80ba1c5e6992694b5f21431520aafce1255e29;hp=27c93807068174ee4d945e392718c9b1baa7ccad;hb=d3c4618b3ac0e444ce3b9dd894b87f86a50863c5;hpb=b98bcf858ba0cac58d52b76eb1bea40e25adcaa1 diff --git a/src/material.h b/src/material.h index 27c93807..8b80ba1c 100644 --- a/src/material.h +++ b/src/material.h @@ -129,7 +129,7 @@ inline void MaterialInfo::clear() { /// MaterialInfo::scale_factor takes a position and a color as input, and -/// returns a scale factor for the given color. We have to provide the +/// returns a scale factor for the given color. We have to provide the /// position in addition to the color, because the scale factor need not /// to be a constant: It can also be a function which should be applied to /// the position. For instance, in KBP vs K endgames, a scaling function @@ -167,7 +167,7 @@ inline bool MaterialInfo::specialized_eval_exists() const { /// MaterialInfo::evaluate applies a specialized evaluation function -/// to a given position object. It should only be called when +/// to a given position object. It should only be called when /// specialized_eval_exists() returns 'true'. inline Value MaterialInfo::evaluate(const Position& pos) const {