summaryrefslogtreecommitdiff
path: root/src/cell.cc
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-04-26 20:12:25 +0000
committerStijn Buys <ingar@osirion.org>2013-04-26 20:12:25 +0000
commitc93587b39b34c38f7d788fc639ced2bf5493a56a (patch)
tree1d377e2a05945a7f7cd47fca91b53ee00e32441f /src/cell.cc
parent1bdd9ddbfdd021284201bd0a1f5da41be3dc9578 (diff)
Added brute-force search algorithm.
Diffstat (limited to 'src/cell.cc')
-rw-r--r--src/cell.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cell.cc b/src/cell.cc
index c586a73..21b7560 100644
--- a/src/cell.cc
+++ b/src/cell.cc
@@ -14,9 +14,8 @@ Cell::Cell(const Cell & other)
void Cell::assign(const Cell & other)
{
- cell_valid = other.cell_valid;
- cell_value = other.cell_value;
- cell_valid = other.cell_valid;
+ cell_valid = other.valid();
+ cell_value = other.value();
for (int i = 0; i < 9; i++) {
cell_possibility[i] = other.cell_possibility[i];