SymPy's seterr(divide): with divide = TRUE, Rational(0, 0) raises
an error instead of returning nan. Changing the setting clears the
cache.
SymPy's seterr(divide): with divide = TRUE, Rational(0, 0) raises
an error instead of returning nan. Changing the setting clears the
cache.