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;