tqt
This commit is contained in:
parent
94d9102b64
commit
243b3ed641
1 changed files with 2 additions and 2 deletions
|
@ -100,13 +100,13 @@ void sok_board_t::load(char *_file) {
|
|||
}
|
||||
|
||||
bool is_in_history(Node current, std::vector<Node> history) {
|
||||
for (int i = 0; i < history.size(); ++i) {
|
||||
for (ulong i = 0; i < history.size(); ++i) {
|
||||
Node noeud = history[i];
|
||||
|
||||
int c = 0;
|
||||
for (int l = 0; l < NBL; ++l) {
|
||||
for (int m = 0; m < NBC; ++m) {
|
||||
if (current.state.board[l][m] != current.state.board[l][m])
|
||||
if (current.state.board[l][m] != noeud.state.board[l][m])
|
||||
c++;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue