[gsl/temp_odecrash] temporary diagnostic

Frantisek Kluknavsky fkluknav at fedoraproject.org
Thu Jan 17 15:01:33 UTC 2013


commit 736e760f66dcce0d86dfc1cd3c0045fd4f050f47
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date:   Thu Jan 17 15:43:27 2013 +0100

    temporary diagnostic

 wrk.patch |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/wrk.patch b/wrk.patch
index d682912..a34d196 100644
--- a/wrk.patch
+++ b/wrk.patch
@@ -1,6 +1,6 @@
 diff -up wrk/ode-initval2/msbdf.c.wrk wrk/ode-initval2/msbdf.c
 --- wrk/ode-initval2/msbdf.c.wrk	2013-01-09 10:35:45.259960403 +0100
-+++ wrk/ode-initval2/msbdf.c	2013-01-17 15:40:23.447646145 +0100
++++ wrk/ode-initval2/msbdf.c	2013-01-17 15:43:19.299814856 +0100
 @@ -116,7 +116,6 @@ static void *
  msbdf_alloc (size_t dim)
  {
@@ -9,14 +9,14 @@ diff -up wrk/ode-initval2/msbdf.c.wrk wrk/ode-initval2/msbdf.c
    if (state == 0)
      {
        GSL_ERROR_NULL ("failed to allocate space for msbdf_state", GSL_ENOMEM);
-@@ -1695,6 +1694,7 @@ msbdf_reset (void *vstate, size_t dim)
+@@ -1737,6 +1736,7 @@ msbdf_free (void *vstate)
+ {
    msbdf_state_t *state = (msbdf_state_t *) vstate;
-   size_t i;
  
 +printf("ALOKUJEEEEEEEEEEEEEEEEEEEEEEEEEEM\n");
-   state->ni = 0;
-   state->ord = 1;
-   state->ordwait = 2;
+   gsl_vector_free (state->rhs);
+   gsl_permutation_free (state->p);
+   gsl_matrix_free (state->M);
 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-17 15:18:46.759826995 +0100


More information about the scm-commits mailing list