diff options
author | Thomas White <taw@physics.org> | 2014-05-23 16:18:27 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-05-23 16:18:27 +0200 |
commit | d316a9f1edfc96a9a8d23043a3b22692080c0cc3 (patch) | |
tree | c9d1c477eeb9af9ab21273e07e04bd6f9a7b87d5 /src | |
parent | 72c44b5ce64d74357b03054bf11229e912b41661 (diff) |
Remove redundant old stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/hrs-scaling.c | 6 | ||||
-rw-r--r-- | src/partialator.c | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index 2fef0925..b7aee812 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -464,7 +464,6 @@ struct osfcheck }; - static int compare_osf_change(const void *av, const void *bv) { struct osfcheck *a = (struct osfcheck *)av; @@ -507,7 +506,6 @@ static int test_convergence(struct osfcheck *och, int n, Crystal **crystals) total_change += och[i].change; n_change++; } - } mean_change = total_change / n_change; @@ -523,7 +521,6 @@ RefList *scale_intensities(Crystal **crystals, int n, RefList *gref, int min_redundancy) { int i; - double max_corr; RefList *full = NULL; struct osfcheck *och; int done; @@ -568,8 +565,7 @@ RefList *scale_intensities(Crystal **crystals, int n, RefList *gref, reference = full; } - max_corr = iterate_scale(crystals, n, reference, n_threads, - pmodel); + iterate_scale(crystals, n, reference, n_threads, pmodel); /* Normalise the scale factors */ for ( j=0; j<n; j++ ) { diff --git a/src/partialator.c b/src/partialator.c index 169e5f67..10290fd6 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -208,7 +208,6 @@ int main(int argc, char *argv[]) int n_crystals = 0; char *reference_file = NULL; RefList *reference = NULL; - int have_reference = 0; char cmdline[1024]; SRContext *sr; int noscale = 0; @@ -366,7 +365,6 @@ int main(int argc, char *argv[]) free(reference_file); reference = asymmetric_indices(list, sym); reflist_free(list); - have_reference = 1; } |