projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
db09792
)
Remove two obsolete asserts in prevents_move
author
Marco Costalba
<mcostalba@gmail.com>
Wed, 26 Dec 2012 11:27:09 +0000 (12:27 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Wed, 26 Dec 2012 11:27:41 +0000 (12:27 +0100)
Now that this function is called also to calculate
move's extensions the asserts are no more valid.
No functional change.
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
085d124
..
4663678
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-1396,8
+1396,6
@@
split_point_start: // At split points actual search starts from here
assert(is_ok(first));
assert(is_ok(second));
- assert(!pos.is_capture_or_promotion(first));
- assert(!pos.is_passed_pawn_push(first));
Square m1from = from_sq(first);
Square m2from = from_sq(second);