/[escript]/trunk/escript/py_src/util.py
ViewVC logotype

Diff of /trunk/escript/py_src/util.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3368 by jfenwick, Fri Nov 19 05:59:46 2010 UTC revision 3369 by gross, Fri Nov 19 06:26:11 2010 UTC
# Line 1619  def whereZero(arg,tol=None,rtol=math.sqr Line 1619  def whereZero(arg,tol=None,rtol=math.sqr
1619     """     """
1620     if tol == None:     if tol == None:
1621        if not isinstance(arg,Symbol):        if not isinstance(arg,Symbol):
1622           if rtol<=0: raise ValueError,"rtol must be non-negative."           if rtol<0: raise ValueError,"rtol must be non-negative."
1623           tol = Lsup(arg)*rtol           tol = Lsup(arg)*rtol
1624        else:        else:
1625           tol=0.           tol=0.

Legend:
Removed from v.3368  
changed lines
  Added in v.3369

  ViewVC Help
Powered by ViewVC 1.1.26