aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-08-11 15:46:46 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:36 +0100
commit473c20a9ad5eae196d21bbb5d7de6c81602629c3 (patch)
tree988374e818b006809c7592635c819d3450a6785c /src
parent176a6bd590eaad0b185e77aa60f3f5075ba17b07 (diff)
Remove unused parameter
Diffstat (limited to 'src')
-rw-r--r--src/reax.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/reax.c b/src/reax.c
index 3ceec850..f2a7d8e6 100644
--- a/src/reax.c
+++ b/src/reax.c
@@ -224,8 +224,7 @@ static void fine_search(struct reax_private *p, ImageFeatureList *flist,
int nel, double pmax, double *fft_in,
fftw_complex *fft_out, fftw_plan plan,
int smin, int smax, double th_cen, double ph_cen,
- double *x, double *y, double *z,
- double modv_exp)
+ double *x, double *y, double *z)
{
double fom = 0.0;
double th, ph;
@@ -359,7 +358,7 @@ void reax_index(IndexingPrivate *pp, struct image *image, UnitCell *cell)
}
fine_search(p, image->features, p->nel, pmax, fft_in, fft_out,
- p->plan, smin, smax, th, ph, &ax, &ay, &az, mod_a);
+ p->plan, smin, smax, th, ph, &ax, &ay, &az);
/* Search for b */
smin = 2.0*pmax * bmin;
@@ -384,7 +383,7 @@ void reax_index(IndexingPrivate *pp, struct image *image, UnitCell *cell)
}
fine_search(p, image->features, p->nel, pmax, fft_in, fft_out,
- p->plan, smin, smax, th, ph, &bx, &by, &bz, mod_b);
+ p->plan, smin, smax, th, ph, &bx, &by, &bz);
/* Search for c */
smin = 2.0*pmax * cmin;
@@ -413,7 +412,7 @@ void reax_index(IndexingPrivate *pp, struct image *image, UnitCell *cell)
}
fine_search(p, image->features, p->nel, pmax, fft_in, fft_out,
- p->plan, smin, smax, th, ph, &cx, &cy, &cz, mod_c);
+ p->plan, smin, smax, th, ph, &cx, &cy, &cz);
image->indexed_cell = cell_new();
cell_set_cartesian(image->indexed_cell, ax, ay, az,