Don't use asserts in the code (partial fix from sympy/sympy#5090)
Merge pull request #289 from skirpichev/sympy-asserts

Don't use asserts in the code