On Mon, Sep 24, 2012 at 11:38 PM, Chris Smith <smi...@gmail.com> wrote: >>> if not b.q % a.q or not a.q % b.q: >>> AttributeError: 'Infinity' object has no attribute 'q' > > Infinity stopped inheriting from Rational a long time ago and this is > one of those lurking areas where it causes problems.
What would be the way to fix this? Ondrej -- 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.