summaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
Diffstat (limited to 'img')
-rw-r--r--img/better_disp.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/img/better_disp.lua b/img/better_disp.lua
index b7125a9..f6d4322 100644
--- a/img/better_disp.lua
+++ b/img/better_disp.lua
@@ -76,7 +76,9 @@ local function adjust_to_2_colors(R,gromlings,pdists)
for b in pairs(all_current_colors) do
if a ~= b then
local dist = pdists[a][b]
+ assert(dist)
if dist < best_dist then
+ print("yeah")
best_dist = dist
best_a = a
best_b = b