<br><br><div><span class="gmail_quote">2005/7/14, Robert Kern <<a href="mailto:firstname.lastname@example.org">email@example.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Flavio Coelho wrote:<br><br>> I have both numeric 23.7 and numarray 1.3.1 installed and on neither<br>> of them I could reproduce the bug when I called them directly from the<br>> python interpreter. However they fail on mean
0.0 every time when called<br>> within my code. So it appears to me that the Bug you mentioned is not<br>> what is causing my problem. It seems to stem from interaction with the<br>> way its being called, maybe some carryover from previous calls...
<br>> this is the test I ran on the interpreter:<br>> [(poisson(i),i) for i in uniform(-20,20,1000) if i<=0]<br>><br>> I also ran:<br>><br>> sum(poisson(0,100000))<br>><br>> they both worked flawlessly. In the first test I wanted to see if there
<br>> was some carry over from previous runs when called with various means<br>> (which is closer to the way it is used within my code), but it returned<br>> zero every time. (I don't use negative means in my code, but I wanted to
<br>> try it here just in case)<br><br>Are you sure that you don't have other versions of Numeric or numarray<br>installed that might be getting picked up by your code?</blockquote><div><br>
I have just double checked. And the answer is no, there is a single version of each of the modules. <br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--<br>Robert Kern<br><a href="mailto:firstname.lastname@example.org">email@example.com</a><br><br>"In the fields of hell where the grass grows high
<br> Are the graves of dreams allowed to die."<br> -- Richard Harter<br><br><br>-------------------------------------------------------<br>This <a href="http://SF.Net">SF.Net</a> email is sponsored by the 'Do More With Dual!' webinar happening
<br>July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual<br>core and dual graphics technology at this free one hour event hosted by HP,<br>AMD, and NVIDIA. To register visit <a href="http://www.hp.com/go/dualwebinar">
http://www.hp.com/go/dualwebinar</a><br>_______________________________________________<br>Numpy-discussion mailing list<br><a href="mailto:Numpyfirstname.lastname@example.org">Numpyemail@example.com</a>
<br><a href="https://lists.sourceforge.net/lists/listinfo/numpy-discussion">https://lists.sourceforge.net/lists/listinfo/numpy-discussion</a><br></blockquote></div><br><br><br>-- <br>Flávio Codeço Coelho<br>registered Linux user # 386432
<br>---------------------------<br>Great spirits have always found violent opposition from mediocrities. The<br>latter cannot understand it when a man does not thoughtlessly submit to<br>hereditary prejudices but honestly and courageously uses his intelligence.
<br> Albert Einstein <br>