From 2c3341bf6752458da62e258069ef8ece973f7cc0 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 25 Jul 2019 12:10:26 +0200 Subject: [PATCH] sol:: fixed return too early --- binary-tiling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binary-tiling.cpp b/binary-tiling.cpp index 22a59690..f989ab17 100644 --- a/binary-tiling.cpp +++ b/binary-tiling.cpp @@ -883,13 +883,13 @@ namespace solv { h = tailored_alloc (S7); h->c7 = newCell(S7, h); coords[h] = make_pair(x, y); - return h; h->distance = 0; h->dm4 = 0; h->zebraval = 0; h->emeraldval = 0; h->fieldval = 0; h->cdata = NULL; + return h; } hrmap_sol() {