From 8fb18f079558f8938f7eff394ae4ef98ef7a8497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 8 Apr 2021 15:31:53 +0300 Subject: [PATCH] edit table name --- IV/Makefile | 2 +- IV/wm.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IV/Makefile b/IV/Makefile index 6ba253e..40ee55a 100644 --- a/IV/Makefile +++ b/IV/Makefile @@ -44,7 +44,7 @@ mj-msc-full.pdf: mj-msc.pdf version.tex $(ARCHIVABLES) mv .tmp-$@ $@ test-figures.pdf: layer2img.py .faux_test - python ./layer2img.py --group1-table=figures --group1-arrows=yes --outfile=$@ + python ./layer2img.py --group1-table=wm_figures --group1-arrows=yes --outfile=$@ .faux_test: tests.sql wm.sql .faux_db ./db -f tests.sql diff --git a/IV/wm.sql b/IV/wm.sql index 6d9b875..e053c1b 100644 --- a/IV/wm.sql +++ b/IV/wm.sql @@ -338,10 +338,10 @@ declare begin i = 2; while i < array_length(bendattrs, 1)-1 loop - raise notice 'number of bends in %: %', dbgname, array_length(bendattrs, 1); this = bendattrs[i].curvature * isolation_threshold; prev_i = i; if bendattrs[i-1].curvature < this and bendattrs[i+1].curvature < this then + raise notice '% %`th bend is isolated', dbgname, i; res = bendattrs[i]; res.isolated = true; bendattrs[i] = res;