summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;