From 220cb7bfd5510d076bbdf0375a2817f767c06362 Mon Sep 17 00:00:00 2001 From: Tom White Date: Mon, 22 Sep 2008 17:17:58 +0100 Subject: Remove 'random_plusminus()' --- src/refinetest3d.c | 8 -------- 1 file changed, 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]); -- cgit v1.2.3