Changeset 7602:5c76f2c801d7


Ignore:
Timestamp:
12/10/07 16:59:51 (6 years ago)
Author:
mabshoff@…
Branch:
default
Message:

Fix numerical noise doctest failure (#1455)

Location:
sage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sage/calculus/calculus.py

    r7571 r7602  
    24512451            sage: f = x*cos(x) 
    24522452            sage: f.find_maximum_on_interval(0,5) 
    2453             (0.5610963381910451, 0.860333589015) 
     2453            (0.5610963381910451, 0.8603335890...) 
    24542454            sage: f.find_maximum_on_interval(0,5, tol=0.1, maxfun=10) 
    24552455            (0.56109032345808163, 0.857926501456) 
  • sage/numerical/optimize.py

    r7569 r7602  
    9292        sage: f = lambda x: x*cos(x) 
    9393        sage: find_maximum_on_interval(f, 0,5) 
    94         (0.561096338191, 0.860333589015) 
     94        (0.561096338191, 0.8603335890...) 
    9595        sage: find_maximum_on_interval(f, 0,5, tol=0.1, maxfun=10) 
    9696        (0.561090323458, 0.857926501456) 
Note: See TracChangeset for help on using the changeset viewer.