diff options
author | Thomas White <taw@physics.org> | 2011-08-11 15:46:46 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:36 +0100 |
commit | 473c20a9ad5eae196d21bbb5d7de6c81602629c3 (patch) | |
tree | 988374e818b006809c7592635c819d3450a6785c /src | |
parent | 176a6bd590eaad0b185e77aa60f3f5075ba17b07 (diff) |
Remove unused parameter
Diffstat (limited to 'src')
-rw-r--r-- | src/reax.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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, |