edit table name

This commit is contained in:
Motiejus Jakštys 2021-05-19 22:57:47 +03:00 committed by Motiejus Jakštys
parent f3f66cebcc
commit 6062ce9389
2 changed files with 2 additions and 2 deletions

View File

@ -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

2
wm.sql
View File

@ -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;