aboutsummaryrefslogtreecommitdiff
path: root/src/test_molecule_posn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test_molecule_posn.c')
-rw-r--r--src/test_molecule_posn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test_molecule_posn.c b/src/test_molecule_posn.c
index f8ff218..831ad14 100644
--- a/src/test_molecule_posn.c
+++ b/src/test_molecule_posn.c
@@ -284,6 +284,7 @@ printf(" boundary_extrapolation_tolerance_[min,max]=[%g,%g]\n",
printf(" x=%g\n", (double) x);
{
+const int debug = 0;
const int status
= AEILocalInterp_molecule_posn(grid_x0, grid_dx,
grid_i_min, grid_i_max,
@@ -293,6 +294,7 @@ const int status
boundary_extrapolation_tolerance_min,
boundary_extrapolation_tolerance_max,
x,
+ debug,
&i_center, &x_rel);
if (status < 0)
@@ -321,6 +323,7 @@ int failure_count = 0;
const struct args_results *p = & test_data[i];
int i_center = 999;
fp x_rel = 999.999;
+ const int debug = 0;
const int status = AEILocalInterp_molecule_posn
(grid_x0, grid_dx,
grid_i_min, grid_i_max,
@@ -330,6 +333,7 @@ int failure_count = 0;
p->boundary_extrapolation_tolerance_min,
p->boundary_extrapolation_tolerance_max,
p->x,
+ debug,
&i_center, &x_rel);
bool ok = (status == 0)
? ( (status == p->status) && (i_center == p->i_center)