diff options
author | Tom White <weiss@jade.(none)> | 2008-09-22 17:17:58 +0100 |
---|---|---|
committer | Tom White <weiss@jade.(none)> | 2008-09-23 17:00:17 +0100 |
commit | 220cb7bfd5510d076bbdf0375a2817f767c06362 (patch) | |
tree | 666a142e731cbd5e6ca5fef75ec0528bd4829218 | |
parent | 615148ba07a651bae1e5b5abbe9db44cccf3664d (diff) |
Remove 'random_plusminus()'
-rw-r--r-- | src/refinetest3d.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/refinetest3d.c b/src/refinetest3d.c index 5d08e9e..090bee5 100644 --- a/src/refinetest3d.c +++ b/src/refinetest3d.c @@ -27,13 +27,6 @@ #include "displaywindow.h" #include "mrc.h" -/* Return a random number x, -max < x < +max */ -static double random_plusminus(double max) { - - return max; - -} - static int check_cell(Basis *cell, Basis *cell_real) { int fail; @@ -161,7 +154,6 @@ int main(int argc, char *argv[]) { ctx->cell->a.x = 5.0e9; ctx->cell->a.y = 0.1e9; ctx->cell->a.z = 0.1e9; ctx->cell->b.x = 0.1e9; ctx->cell->b.y = 5.0e9; ctx->cell->b.z = 0.1e9; ctx->cell->c.x = 0.1e9; ctx->cell->c.y = 0.1e9; ctx->cell->c.z = 5.0e9; - ctx->cell->a.x += random_plusminus(0.1e9); ctx->cell_lattice = reflection_list_from_cell(ctx->cell); ctx->images->images[0].rflist = reproject_get_reflections(&ctx->images->images[0], ctx->cell_lattice); reproject_partner_features(ctx->images->images[0].rflist, &ctx->images->images[0]); |