aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-26 14:58:50 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:03 +0100
commit08c67e2d0e430b57b692e7fb78fd8861f4ef0efa (patch)
tree22dc3ef852fd9e0d77e07ff46d0f642e068d1832
parent4888aba44e6de5ddf6b450c4fa1f411e18090d06 (diff)
New flat value when no structure factors are available
-rw-r--r--src/diffraction-gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diffraction-gpu.c b/src/diffraction-gpu.c
index 7f05471f..c76c4aa0 100644
--- a/src/diffraction-gpu.c
+++ b/src/diffraction-gpu.c
@@ -407,7 +407,7 @@ struct gpu_context *setup_gpu(int no_sfac, struct image *image,
}
} else {
for ( i=0; i<IDIM*IDIM*IDIM; i++ ) {
- intensities_ptr[i] = 10000.0;
+ intensities_ptr[i] = 1e10;
}
}
gctx->intensities = clCreateBuffer(gctx->ctx,