Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium NeedsReview

New issue 1618 by smichr: seterr divide flag setting is ignored
http://code.google.com/p/sympy/issues/detail?id=1618

One can control sympy's response to 0/0 computations as generating either
nan or else raising an error. That flag is set through seterr(). But if 0/0
was already encountered in a program before the flag is set/changed, the
change has no effect since the value has been already cached. To get around
this, the cache should be cleared if the flag is being changed.

A patch with tests is included in the REVIEW branch 2c52 at
http://github.com/smichr

/c

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to