[gsl/temp_odecrash] minor cleanup of gsl.spec

Frantisek Kluknavsky fkluknav at fedoraproject.org
Wed Jan 9 12:25:17 UTC 2013


commit 0e6589883d8e22553e011ef8dedfaa51803a6f6d
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date:   Wed Jan 9 13:25:11 2013 +0100

    minor cleanup of gsl.spec

 wrk.patch |   44 +++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 43 insertions(+), 1 deletions(-)
---
diff --git a/wrk.patch b/wrk.patch
index c537bad..b7552b1 100644
--- a/wrk.patch
+++ b/wrk.patch
@@ -1,7 +1,7 @@
 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 12:55:06.296699660 +0100
++++ wrk/ode-initval2/test.c	2013-01-09 13:24:31.324644652 +0100
 @@ -2003,10 +2003,11 @@ test_extreme_problems (void)
  
        for (i = 0; steppers[i] != 0; i++)
@@ -15,3 +15,45 @@ 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 +2451,7 @@ main (void)
+ 
+   /* Basic tests for all steppers */
+ 
+-  for (i = 0; p[i].type != 0; i++)
++  /*for (i = 0; p[i].type != 0; i++)
+     {
+       test_stepper (p[i].type);
+     }
+@@ -2469,9 +2470,9 @@ main (void)
+       test_stepsize_fail (p[i].type, p[i].h);
+       test_user_break (p[i].type, p[i].h);
+     }
+-
++*/
+   /* Derivative test for explicit steppers */
+-
++/*
+   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 +2492,16 @@ main (void)
+       test_stepfn (explicit_stepper[i].type);
+       test_stepfn2 (explicit_stepper[i].type);
+     }
+-
++*/
+   /* Special tests */
+   
+-  test_nonstiff_problems ();
++ // test_nonstiff_problems ();
+ 
+-  test_stiff_problems ();
++ // test_stiff_problems ();
+ 
+   test_extreme_problems ();
+ 
+-  test_driver ();
++  //test_driver ();
+   
+   exit (gsl_test_summary ());
+ }


More information about the scm-commits mailing list