<div dir="ltr">Sorry, I quoted the wrong file.  Can you check this: <div><br></div><div><div>def s(expr A,B,C,D)=</div><div>D-C=B-A=((B-D) rotated 90)</div><div>enddef;</div><div><br></div><div>beginfig(1);</div><div>s(z3,z4,z7,z8);</div>
<div>s(z4,z5,z6,z11);</div><div>s(z6,z12,z8,z10);</div><div><br></div><div>z4 = (0,0);</div><div>z6 = (1cm,0);</div><div>z8 = (0,1cm);</div><div><br></div><div>showdependencies;</div><div><br></div><div>endfig;</div><div>
bye</div></div><div><br></div><div><br></div><div>I've got:</div><div><br></div><div><div>vadim@vadim-X230:~/work/shen$ mpost test</div><div>This is MetaPost, version 1.803 (kpathsea version 6.1.1)</div><div>(<a href="http://mpost.mp">mpost.mp</a> (/home/vadim/texlive/2013/texmf-dist/metapost/base/<a href="http://plain.mp">plain.mp</a></div>
<div>Preloading the plain mem file, version 1.004) ) (./<a href="http://test.mp">test.mp</a></div><div>y7=-0.08333</div><div>! This can't happen (dep).</div><div>l.14 showdependencies</div><div>                     ;</div>
<div>Transcript written on test.log.</div></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 15, 2014 at 8:56 PM, Daniel H. Luecking <span dir="ltr"><<a href="mailto:luecking@uark.edu" target="_blank">luecking@uark.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Courier New;color:#000000;font-size:12pt">
<br>
In case it is important, Metapost 1.902 (TeX Live 2014) <br>
has the same behavior.<br>
<div><br>
Dan<br>
<br>
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px"><font face="Courier New" size="3">Daniel H. Luecking<br>
Department of Mathematical Sciences<br>
University of Arkansas<br>
Fayetteville, Arkansas</font><br>
</div>
</div>
</div>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> metapost [<a href="mailto:metapost-bounces@tug.org" target="_blank">metapost-bounces@tug.org</a>] on behalf of Vadim Radionov [<a href="mailto:vadim.radionov@gmail.com" target="_blank">vadim.radionov@gmail.com</a>]<br>

<b>Sent:</b> Tuesday, July 15, 2014 11:03 AM<br>
<b>To:</b> <a href="mailto:metapost@tug.org" target="_blank">metapost@tug.org</a><br>
<b>Subject:</b> [metapost] dependencies bug<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">Dear all, 
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Vadim<br>
</div>
<div><br>
</div>
<div>def s(expr A,B,C,D)=<br>
</div>
<div>
<div>D-C=B-A=((B-D) rotated 90)</div>
<div>enddef;</div>
<div><br>
</div>
<div>beginfig(1);</div>
<div>s(z3,z4,z7,z8);</div>
<div>s(z4,z5,z6,z11);</div>
<div>s(z6,z12,z8,z10);</div>
<div><br>
</div>
<div>showdependencies;</div>
<div><br>
</div>
<div>z4 = (0,0);</div>
<div>z6 = (1cm,0);</div>
<div>z8 = (0,1cm);</div>
<div><br>
</div>
<div><br>
</div>
<div>endfig;</div>
<div>bye</div>
</div>
</div>
</div>
</div></div></div>
</div>
</div>

<br>--<br>
<a href="http://tug.org/metapost/" target="_blank">http://tug.org/metapost/</a><br></blockquote></div><br></div>