[gsl/temp_odecrash] temporary diagnostic

Frantisek Kluknavsky fkluknav at fedoraproject.org
Tue Jan 22 11:40:09 UTC 2013


commit 522c40f50f1a38ab0aada5ce64d3886018f31fd3
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date:   Tue Jan 22 12:38:33 2013 +0100

    temporary diagnostic

 wrk.patch |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/wrk.patch b/wrk.patch
index 3b851bf..b6a154e 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-22 12:36:20.997984245 +0100
++++ wrk/ode-initval2/test.c	2013-01-22 12:38:30.210760844 +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