[gsl/temp_odecrash] temporary diagnostic

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


commit 13e644e9ce5376717300c5476c43a85fc330888f
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date:   Thu Jan 17 15:18:50 2013 +0100

    temporary diagnostic

 wrk.patch |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/wrk.patch b/wrk.patch
index 5317690..c4fb594 100644
--- a/wrk.patch
+++ b/wrk.patch
@@ -19,7 +19,7 @@ diff -up wrk/ode-initval2/msbdf.c.wrk wrk/ode-initval2/msbdf.c
    const size_t ord = state->ord;
 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:12:31.666983138 +0100
++++ wrk/ode-initval2/test.c	2013-01-17 15:18:46.759826995 +0100
 @@ -923,6 +923,18 @@ rhs_ringmod (double t, const double y[],
    f[13] = (-y[0] + uin1 - (ri + rg1) * y[13]) / ls1;
    f[14] = (-y[1] - (rc + rg1) * y[14]) / ls1;
@@ -47,10 +47,9 @@ diff -up wrk/ode-initval2/test.c.wrk wrk/ode-initval2/test.c
    while (t < t1)
      {
        s = gsl_odeiv2_evolve_apply (d->e, d->c, d->s, sys, &t, t1, &h, y);
--
-+/*
+ 
 +      printf("\nkrok %d\n", ++poc);
-+      int k;
++/*      int k;
 +      for (k=0; k<15; ++k) {
 +	printf(" %lu\n",(*(unsigned long int *)(&(y[k]))));
 +      }


More information about the scm-commits mailing list