[gsl/temp_odecrash] temporary diagnostic
Frantisek Kluknavsky
fkluknav at fedoraproject.org
Thu Jan 17 18:05:29 UTC 2013
commit 671930b335f71176a4dfbe90584b84d86665aaa4
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date: Thu Jan 17 19:05:16 2013 +0100
temporary diagnostic
wrk.patch | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/wrk.patch b/wrk.patch
index 3ae176b..453c7dc 100644
--- a/wrk.patch
+++ b/wrk.patch
@@ -1,6 +1,6 @@
diff -up wrk/ode-initval2/evolve.c.wrk wrk/ode-initval2/evolve.c
--- wrk/ode-initval2/evolve.c.wrk 2013-01-17 18:48:06.473062671 +0100
-+++ wrk/ode-initval2/evolve.c 2013-01-17 18:46:32.044465337 +0100
++++ wrk/ode-initval2/evolve.c 2013-01-17 19:05:07.589629814 +0100
@@ -28,6 +28,8 @@
#include "odeiv_util.h"
@@ -19,7 +19,23 @@ diff -up wrk/ode-initval2/evolve.c.wrk wrk/ode-initval2/evolve.c
const double t0 = *t;
double h0 = *h;
int step_status;
-@@ -279,6 +283,9 @@ try_step:
+@@ -206,6 +210,7 @@ try_step:
+
+ DBL_MEMCPY (y, e->y0, dydt->dimension);
+ e->failed_steps++;
++ printf("skacem prvy\n");
+ goto try_step;
+ }
+ else
+@@ -254,6 +259,7 @@ try_step:
+
+ DBL_MEMCPY (y, e->y0, dydt->dimension);
+ e->failed_steps++;
++printf("skacem druhy\n");
+ goto try_step;
+ }
+ else
+@@ -279,6 +285,9 @@ try_step:
*h = h0;
}
More information about the scm-commits
mailing list