[gsl/temp_odecrash] temporary diagnostic

Frantisek Kluknavsky fkluknav at fedoraproject.org
Thu Jan 17 13:39:20 UTC 2013


commit b6817fd8f9b6f1c8b0261e8eaa0058059c496f41
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date:   Thu Jan 17 14:39:03 2013 +0100

    temporary diagnostic

 wrk.patch |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wrk.patch b/wrk.patch
index 8bdd0a1..1318d1f 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-17 14:17:53.342044766 +0100
++++ wrk/ode-initval2/test.c	2013-01-17 14:38:42.215548905 +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;
@@ -33,7 +33,7 @@ diff -up wrk/ode-initval2/test.c.wrk wrk/ode-initval2/test.c
 +      printf("\nkrok %d\n", ++poc);
 +      int k;
 +      for (k=0; k<15; ++k) {
-+	printf(" %lu\n",(*(unsigned long int *)(&(y[k]))));
++	printf(" %lu\n",(*(unsigned long int *)(&t)));
 +      }
 +      //printf("\n");
  #ifdef DEBUG


More information about the scm-commits mailing list