[gsl/temp_odecrash] temporary diagnostic

Frantisek Kluknavsky fkluknav at fedoraproject.org
Tue Jan 22 09:59:32 UTC 2013


commit c3d351ec1e07aa412aec4bde8f746ce7a718760a
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date:   Tue Jan 22 10:59:04 2013 +0100

    temporary diagnostic

 wrk.patch |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/wrk.patch b/wrk.patch
index e5e69a0..b595f37 100644
--- a/wrk.patch
+++ b/wrk.patch
@@ -199,7 +199,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 17:19:11.821096648 +0100
++++ wrk/ode-initval2/test.c	2013-01-22 10:58:55.754146170 +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;
@@ -242,12 +242,12 @@ diff -up wrk/ode-initval2/test.c.wrk wrk/ode-initval2/test.c
 +      printf("\nkrok %d\n", ++poc);
 +//printf("po\n");
 +//PD(h);
-+/*      int k;
++      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
        printf ("%.5e %.5e %.5e %d\n", t, y[0], y[1],


More information about the scm-commits mailing list