summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ecd3218)
No functional change.
Closes #1113
void update(Color c, Move m, int v) {
const int D = 324;
void update(Color c, Move m, int v) {
const int D = 324;
- int& entry = (*this)[c][from_to(m)];
+ auto& entry = (*this)[c][from_to(m)];
assert(abs(v) <= D); // Consistency check for below formula
assert(abs(v) <= D); // Consistency check for below formula
void update(Piece pc, Square to, int v) {
const int D = 936;
void update(Piece pc, Square to, int v) {
const int D = 936;
- int& entry = (*this)[pc][to];
+ auto& entry = (*this)[pc][to];
assert(abs(v) <= D); // Consistency check for below formula
assert(abs(v) <= D); // Consistency check for below formula