[metapost] dependencies bug

luigi scarso luigi.scarso at gmail.com
Wed Jul 16 01:24:37 CEST 2014


On Tue, Jul 15, 2014 at 6:07 PM, luigi scarso <luigi.scarso at gmail.com>
wrote:

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

It should be fixed in trunk.

-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20140716/72d69493/attachment.html>


More information about the metapost mailing list