Ticket #6315: trac_6315.patch

File trac_6315.patch, 1020 bytes (added by mariah, 8 years ago)
  • doc/en/bordeaux_2008/birds_other.rst

    # HG changeset patch
    # User Mariah Lenox <mariah.lenox@gmail.com>
    # Date 1306344287 14400
    # Node ID bbe965179576a315fae07a65e0339261a5444c80
    # Parent  feec7d75b4b163305cf6224fd0c2fa81f36b7ff4
    Trac #6315:optional doctest failure -- caused by mistakes in lectures on number theory rst book
    
    diff -r feec7d75b4b1 -r bbe965179576 doc/en/bordeaux_2008/birds_other.rst
    a b  
    240240    sage: timeit('f*g')               # random output
    241241    625 loops, best of 3: 310 microseconds per loop
    242242    sage: ff = magma(f); gg = magma(g)  #optional - magma
    243     sage: s = 'time v := [%s * %s for _ in [1..10^5]];'%(ff.name(), gg.name()) #optional - magma
     243    sage: s = 'time v := [%s * %s : i in [1..10^5]];'%(ff.name(), gg.name()) #optional - magma
    244244    sage: magma.eval(s)     #optional - magma
    245245    'Time: 17.120'
    246246    sage: (17.120/10^5)*10^(6)    # convert to microseconds