[metapost] dependencies bug

luigi scarso luigi.scarso at gmail.com
Tue Jul 15 18:07:10 CEST 2014


On Tue, Jul 15, 2014 at 6:03 PM, Vadim Radionov <vadim.radionov at gmail.com>
wrote:

> Dear all,
>
> My colleague found a bug in Metapost 1.803 which I would lile to report.
>  In the following minimal example, showdependencies shows something
> inappropriate, which gives "This can't happen (dep)" error later.  But if I
> move the third s-relation after setting z[4,6,8], everything works fine.
>
> Vadim
>
> def s(expr A,B,C,D)=
> D-C=B-A=((B-D) rotated 90)
> enddef;
>
> beginfig(1);
> s(z3,z4,z7,z8);
> s(z4,z5,z6,z11);
> s(z6,z12,z8,z10);
>
> showdependencies;
>
> z4 = (0,0);
> z6 = (1cm,0);
> z8 = (0,1cm);
>
>
> endfig;
> bye
>
> --
> http://tug.org/metapost/
>

Thank you for the report.
I'm in the middle of something else now, I will check it asap.

-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20140715/1301ad4d/attachment.html>


More information about the metapost mailing list