Ticket #3935: ode_solver_patch-referee.patch

File ode_solver_patch-referee.patch, 868 bytes (added by Jason Grout, 14 years ago)
  • sage/gsl/ode.pyx

    # HG changeset patch
    # User Jason Grout <jason-sage@creativetrax.com>
    # Date 1219851510 18000
    # Node ID 6572cf42596b53d09cabf6b49ee7042007c85091
    # Parent  a8100010ffe09bdc786f654579aca3d2602d727c
    [mq]: ode_solver_patch-referee.patch
    
    diff -r a8100010ffe0 -r 6572cf42596b sage/gsl/ode.pyx
    a b  
    247247
    248248         The solver attributes may also be set up using arguments to ode_solver.  The previous example can be rewritten as
    249249
    250          sage: T = ode_solver(g_1,y_0=[0,1,1],scale_abs=[1e-4,1e-4,1e-5],error_rel=1e-4)
     250         sage: T = ode_solver(g_1,y_0=[0,1,1],scale_abs=[1e-4,1e-4,1e-5],error_rel=1e-4, algorithm="rk8pd")
    251251         sage: T.ode_solve(t_span=[0,12],num_points=100)
    252252         sage: f = T.interpolate_solution()
    253253         sage: f(pi)