mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Fix MSVC error
Compiling the current master with MSVC gives the following error:
```
search.cpp(956): error C2660: 'operator *': function does not take 1 arguments
types.h(303): note: see declaration of 'operator *'
```
This was introduced in commit:
88de112b84
We use a suggestion by @vondele to fix the error, thanks!
No functional change.
This commit is contained in:
parent
9d219c07e4
commit
745160572f
1 changed files with 1 additions and 1 deletions
|
@ -951,7 +951,7 @@ moves_loop: // When in check, search starts from here
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if ( !extension // (~20 Elo)
|
else if ( !extension // (~20 Elo)
|
||||||
&& !pos.see_ge(move, -Value(PawnValueEg * (depth / ONE_PLY))))
|
&& !pos.see_ge(move, -PawnValueEg * (depth / ONE_PLY)))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue