From 6062ce938965e7e85ede0a24e82225c631a655f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 19 May 2021 22:57:47 +0300 Subject: [PATCH] edit table name --- Makefile | 2 +- wm.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6ba253e..40ee55a 100644 --- a/Makefile +++ b/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/wm.sql b/wm.sql index 6d9b875..e053c1b 100644 --- a/wm.sql +++ b/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;