The bug is present in 1.1.1 but not in the current master branch on GitHub <https://github.com/sympy/sympy/>, so it was fixed already. You can clone SymPy from GitHub to use the current version, or avoid the bug by making the coefficients rational as mentioned earlier (which avoids other potential issues with floating point arithmetics).
> -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/b2b3764d-4ce1-4d10-afa2-77c7c541756e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
