]> git.sesse.net Git - stockfish/blobdiff - src/position.cpp
Shrink sequencer table
[stockfish] / src / position.cpp
index 65bac1c88515768f204af9141d1e24352d7ed21b..756977cea59bee7525f7866407805165cdee656b 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <cassert>
 #include <cstring>
-#include <fstream>
 #include <iostream>
 #include <sstream>
 #include <algorithm>
@@ -1265,7 +1264,7 @@ int Position::see(Move m) const {
   {
       Square capQq = to - pawn_push(sideToMove);
 
-      assert(capturedType == NO_PIECE_TYPE);
+      assert(!capturedType);
       assert(type_of(piece_on(capQq)) == PAWN);
 
       // Remove the captured pawn