summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-06 23:04:17 +0100
committerubq323 <ubq323@ubq323.website>2022-08-06 23:04:17 +0100
commit954f2b86b287365bf57feeb82bf433bc5c6fdbc6 (patch)
treec039ef8b84d65f4f27e42efc0ec84c5bec29dbdf
parent75736b9dcd5130965d73aa0a0b29e5155c39e3a0 (diff)
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