projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4f669c7
)
Simplify FEN parsing for large boards
author
Fabian Fichter
<ianfab@users.noreply.github.com>
Mon, 10 Feb 2020 22:01:59 +0000 (23:01 +0100)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Mon, 10 Feb 2020 22:01:59 +0000 (23:01 +0100)
No functional change.
src/position.cpp
patch
|
blob
|
history
diff --git
a/src/position.cpp
b/src/position.cpp
index
efd48a9
..
8581782
100644
(file)
--- a/
src/position.cpp
+++ b/
src/position.cpp
@@
-270,9
+270,7
@@
Position& Position::set(const Variant* v, const string& fenStr, bool isChess960,
{
sq += 10 * (token - '0') * EAST;
ss >> token;
- sq += (token - '0') * EAST;
}
- else
#endif
sq += (token - '0') * EAST; // Advance the given number of files
}