*/
#include <algorithm>
-#include <cstring> // For std::memset
#include "bitboard.h"
#include "bitcount.h"
{ 728, 10316, 55013, 32803, 12281, 15100, 16645, 255 } };
Bitboard occupancy[4096], reference[4096], edges, b;
- int age[4096], current = 0, i, size;
-
- std::memset(age, 0, sizeof(age));
+ int age[4096] = {0}, current = 0, i, size;
// attacks[s] is a pointer to the beginning of the attacks table for square 's'
attacks[SQ_A1] = table;