<div class="gmail_quote">On Tue, May 17, 2011 at 8:53 PM, Charles R Harris <span dir="ltr"><<a href="mailto:charlesr.harris@gmail.com">charlesr.harris@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div><div class="h5">On Tue, May 17, 2011 at 7:46 PM, Wieland Brendel <span dir="ltr"><<a href="mailto:wielandbrendel@gmx.net" target="_blank">wielandbrendel@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">



  

    
  
  <div bgcolor="#ffffff" text="#000000">
    <pre>> The equality being that the expression should be ~0?

Exactly.

> I see the problem when the last index is in the range 235 - 390.

Good to see I am not the only one - I was getting crazy. Same range for me by the way.
<i>
</i>> Out of curiosity, which machine/OS are you using? I'm on 64 bit fedora 14,
> AMD 940.

I am using 64 bit Windows 7 / Intel i5 M 540 / Python(x,y) distribution / Numpy 1.6 (latest, no RC)

Any idea where that might come from? Looks like a very odd problem...

Wieland

PS: Its my first time on a mailing list - hope this mail actually replies to the thread. If not: How do I reply?
</pre>
  </div>

<br></blockquote></div></div><div><br>You're doing fine. You have found a bug, not unexpected with einsum not having been tested as much as the rest of the release since it is new and hasn't been used before. Please open a ticket.<br>

<br>Chuck <br></div></div>
</blockquote></div><br><div>I've committed a fix to this, and a crash that I encountered when experimenting with it, to both master and the 1.6.1 branch. It turned out to be an incorrectly handled interaction in the iterator when the inner loop for the reduction case doesn't fit all the way in the buffer.</div>
<div><br></div><div>Cheers,</div><div>Mark</div>