[gsl/temp_odecrash] minor cleanup of gsl.spec

Frantisek Kluknavsky fkluknav at fedoraproject.org
Wed Jan 9 12:44:40 UTC 2013


commit a55d31bd90c742069a0302c741c5a5f6664b4f55
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date:   Wed Jan 9 13:44:35 2013 +0100

    minor cleanup of gsl.spec

 wrk.patch |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/wrk.patch b/wrk.patch
index 9053a30..af8e7bb 100644
--- a/wrk.patch
+++ b/wrk.patch
@@ -1,16 +1,17 @@
 diff -up wrk/ode-initval2/msbdf.c.wrk wrk/ode-initval2/msbdf.c
 diff -up wrk/ode-initval2/test.c.wrk wrk/ode-initval2/test.c
 --- wrk/ode-initval2/test.c.wrk	2013-01-09 10:48:22.051415928 +0100
-+++ wrk/ode-initval2/test.c	2013-01-09 13:41:44.845310985 +0100
-@@ -1266,6 +1266,7 @@ sys_driver (const gsl_odeiv2_step_type *
++++ wrk/ode-initval2/test.c	2013-01-09 13:44:32.287382519 +0100
+@@ -1266,6 +1266,8 @@ sys_driver (const gsl_odeiv2_step_type *
    
    while (t < t1)
      {
-+      printf("krok\n");
++	    int poc=0;
++      printf("krok %d\n", ++poc);
        s = gsl_odeiv2_evolve_apply (d->e, d->c, d->s, sys, &t, t1, &h, y);
  
  #ifdef DEBUG
-@@ -1959,7 +1960,7 @@ test_extreme_problems (void)
+@@ -1959,7 +1961,7 @@ test_extreme_problems (void)
  
    /* Loop over problems */
  
@@ -19,7 +20,7 @@ diff -up wrk/ode-initval2/test.c.wrk wrk/ode-initval2/test.c
      {
        /* Initialize */
  
-@@ -2001,12 +2002,13 @@ test_extreme_problems (void)
+@@ -2001,12 +2003,13 @@ test_extreme_problems (void)
  
        /* Call each solver for the problem */
  
@@ -35,7 +36,7 @@ diff -up wrk/ode-initval2/test.c.wrk wrk/ode-initval2/test.c
            if (s != GSL_SUCCESS)
              {
                printf ("start=%.5e, initstepsize=%.5e\n", start[p],
-@@ -2450,7 +2452,7 @@ main (void)
+@@ -2450,7 +2453,7 @@ main (void)
  
    /* Basic tests for all steppers */
  
@@ -44,7 +45,7 @@ diff -up wrk/ode-initval2/test.c.wrk wrk/ode-initval2/test.c
      {
        test_stepper (p[i].type);
      }
-@@ -2469,9 +2471,9 @@ main (void)
+@@ -2469,9 +2472,9 @@ main (void)
        test_stepsize_fail (p[i].type, p[i].h);
        test_user_break (p[i].type, p[i].h);
      }
@@ -56,7 +57,7 @@ diff -up wrk/ode-initval2/test.c.wrk wrk/ode-initval2/test.c
    explicit_stepper[0].type = gsl_odeiv2_step_rk4;
    explicit_stepper[0].h = 1.0e-3;
    explicit_stepper[1].type = gsl_odeiv2_step_rk2;
-@@ -2491,16 +2493,16 @@ main (void)
+@@ -2491,16 +2494,16 @@ main (void)
        test_stepfn (explicit_stepper[i].type);
        test_stepfn2 (explicit_stepper[i].type);
      }


More information about the scm-commits mailing list