From 13b7db622ca860015f94ff70d779443a86e31f80 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 28 Oct 2016 23:16:33 +0200 Subject: Make verifyConsistent private --- solve.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/solve.cpp b/solve.cpp index 59c43e3..98bc7b2 100644 --- a/solve.cpp +++ b/solve.cpp @@ -133,6 +133,23 @@ private: recurseone(dst); } + bool verifyConsistent(bool diag=false) const { + for(int i=0;i seenH,seenV; + for(int j=0;j1&&BW>1&&BH>1&&BW*BH==N,"Box size inconsistent"); @@ -166,23 +183,6 @@ public: return dst; } - bool verifyConsistent(bool diag=false) const { - for(int i=0;i seenH,seenV; - for(int j=0;j &sol) const { for(int y=0;y