X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.cpp;h=32efaedafd55fcd92977babc906d493cb3bf9b85;hp=6ab90124aeaad62c4242926555a1539c68ba06a7;hb=950c8436edc50857b83eb3e0cbaca06407764655;hpb=3fda064a669c2bcecfa31d66c661efa7408499de diff --git a/src/bitboard.cpp b/src/bitboard.cpp index 6ab90124..32efaeda 100644 --- a/src/bitboard.cpp +++ b/src/bitboard.cpp @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008-2014 Marco Costalba, Joona Kiiski, Tord Romstad + Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -275,7 +275,7 @@ namespace { reference[size] = sliding_attack(deltas, s, b); if (HasPext) - attacks[s][_pext_u64(b, masks[s])] = reference[size]; + attacks[s][pext(b, masks[s])] = reference[size]; size++; b = (b - masks[s]) & masks[s];