Am 27.10.2011 18:38, schrieb Aaron Meurer:
So actually, using float() is probably cleaner than using int() as I
had previously suggested, because to really do it correctly, you would
actually have to use floor() and ceil().  So go ahead and just use
that.  There really isn't much concern with it since you are just
comparing it (maybe someone can correct me if I am wrong).

I'm doing it with unit tests :-)
And, yes, most of the times it's just comparing, but there are the occasional situations where you have array slices and such. Which is what caused the bug report in the first place.

I'm a wee bit concerned about performance.
Is there any code that uses functions from generate.py a really large number of times?

Regards,
Jo

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to