mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 15:37:47 +00:00
Assume input FEN string is correct in from_fen()
And also tolerate a 0 value for full move number. Revert BUG_41 patch, now we set initial King file only if a castling is possible, so we don't need the fix anymore in case of correct FEN. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ struct SearchLimits;
|
||||
class TimeManager {
|
||||
public:
|
||||
|
||||
void init(const SearchLimits& limits, int currentPly);
|
||||
void init(const SearchLimits& limits, int fullMoveNumber);
|
||||
void pv_instability(int curChanges, int prevChanges);
|
||||
int available_time() const { return optimumSearchTime + unstablePVExtraTime; }
|
||||
int maximum_time() const { return maximumSearchTime; }
|
||||
|
||||
Reference in New Issue
Block a user