OK, it was --ignore-whitespace that I was missing. Thank you!mcostalba wrote:It seems correct to me. Perhaps is the patch file, try to save the file with Linux (/n) line endings and not Windows (/cr/lf) and then apply again using -l or --ignore-whitespace option.sockmonkey wrote:Code: Select all
*************** *** 155,161 **** cerr << "\nBench position: " << cnt << '/' << positions.size() << endl << endl; if (limitType == "perft") totalNodes += perft(pos, maxDepth * OnePly); - else if (!think(pos, true, false, 0, dummy, dummy, 0, maxDepth, maxNodes, secsPerPos, moves)) break; totalNodes += nodes_searched(); } --- 155,161 ---- cerr << "\nBench position: " << cnt << '/' << positions.size() << endl << endl; if (limitType == "perft") totalNodes += perft(pos, maxDepth * OnePly); + else if (!think(pos, false, false, 0, dummy, dummy, 0, maxDepth, maxNodes, secsPerPos, moves)) break; totalNodes += nodes_searched(); }
Jeremy