aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-09-04 14:46:49 +0000
committertaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-09-04 14:46:49 +0000
commitf50132af4d595c406508090d44aa97eb64900c5b (patch)
treedcb0f0c32929863a3d28b6e71a82a038888a6cdd /src
parent61b78517b9d71de5353aefd8f1ad8b63c4079544 (diff)
Choose a properly random image
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@111 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src')
-rw-r--r--src/ipr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipr.c b/src/ipr.c
index a6af8ed..f3465a6 100644
--- a/src/ipr.c
+++ b/src/ipr.c
@@ -250,6 +250,7 @@ int ipr_refine(ControlContext *ctx) {
ctx->reflectionctx->basis = basis;
if ( !basis ) return -1;
+ srand(time(NULL));
lat = ipr_generate(ctx, basis);
ctx->reflectionctx->basis = basis;