Question regarding static evaluation of pawns

Discussion of chess software programming and technical issues.

Moderators: hgm, Dann Corbit, Harvey Williamson

mar
Posts: 2552
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Question regarding static evaluation of pawns

Post by mar »

lucasart wrote: Yes. I *never* call the eval when in check:

Code: Select all

int eval(const Board& B)
{
	assert(!B.is_check());
	...
}
Aha sorry I haven't noticed.