Skip to content

Commit 5842c67

Browse files
committed
fix typo in variable name
1 parent 810e76c commit 5842c67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/op1.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub struct Op1Client {
4949
}
5050

5151
fn is_currently_supported(pos: &Chess) -> bool {
52-
let kbp_v_kppp = ByColor {
52+
let kbp_v_kpppp = ByColor {
5353
white: ByRole {
5454
king: 1,
5555
bishop: 1,
@@ -64,7 +64,7 @@ fn is_currently_supported(pos: &Chess) -> bool {
6464
};
6565

6666
let material = pos.board().material();
67-
material == kbp_v_kppp || material == kbp_v_kppp.into_swapped()
67+
material == kbp_v_kpppp || material == kbp_v_kpppp.into_swapped()
6868
}
6969

7070
fn is_supported_op1(pos: &Chess) -> bool {

0 commit comments

Comments
 (0)