summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-04-26 22:10:51 +0000
committerStijn Buys <ingar@osirion.org>2013-04-26 22:10:51 +0000
commit9678575b811adad507ee6c6aa1d79c159a27263c (patch)
tree52dbf5495492758e822c10ec804d6df9109d097b /src
parentc9ff1c4b5302440194b8f4f8d200d03b6e263ac4 (diff)
Removed solver debug output.
Diffstat (limited to 'src')
-rw-r--r--src/sudoku.cc30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/sudoku.cc b/src/sudoku.cc
index d40a8c8..88695de 100644
--- a/src/sudoku.cc
+++ b/src/sudoku.cc
@@ -1,7 +1,7 @@
#include "sudoku.h"
-#include <QtGui>
+// #include <QtGui>
#include <cstdlib>
@@ -337,20 +337,20 @@ int Sudoku::solve_search()
bool Sudoku::solve_search_step(int &iterations, Sudoku & solution)
{
- qDebug() << "iteration " << iterations;
- for (int row = 0; row < 9; row ++) {
- qDebug()
- << cell(row, 0).value()
- << cell(row, 1).value()
- << cell(row, 2).value()
- << cell(row, 3).value()
- << cell(row, 4).value()
- << cell(row, 5).value()
- << cell(row, 6).value()
- << cell(row, 7).value()
- << cell(row, 8).value();
- }
-
+// qDebug() << "iteration " << iterations;
+// for (int row = 0; row < 9; row ++) {
+// qDebug()
+// << cell(row, 0).value()
+// << cell(row, 1).value()
+// << cell(row, 2).value()
+// << cell(row, 3).value()
+// << cell(row, 4).value()
+// << cell(row, 5).value()
+// << cell(row, 6).value()
+// << cell(row, 7).value()
+// << cell(row, 8).value();
+// }
+//
if (solved()) {
solution.assign((*this));
return true;