Skip to content

Commit 15570ef

Browse files
Daniel WhiteDaniel White
authored andcommitted
Removed unnecessary brackets - & has higher precedence than |. Saves 2 bytes.
1 parent f9c4794 commit 15570ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iota.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ D(x, y, p, e) {
4242
B[f+t>>1]=B[t+(d*3-1)/2],B[t+(d*3-1)/2]=0 // If castling also move rook.
4343

4444
// Looking to make a move? (if our own move, make sure does not leave us in check)
45-
I (t==y & f==x) | (x==H && D(8,0,0,H))) {
45+
I t==y & f==x | (x==H && D(8,0,0,H))) {
4646
X=f,Y=t;
4747
E= m%8==2&t!=f+d ? f+t>>1 : 9; // Set ep-target square if double pawn move.
4848
R B[t]==m%128; // Indicate if promotion has NOT occured.

0 commit comments

Comments
 (0)