aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-10-16 11:24:28 +0200
committerThomas White <taw@bitwiz.org.uk>2009-10-16 11:24:28 +0200
commit171a98136511e42c3a20b942ad8426e3c906e243 (patch)
tree46aa0d6b0f7638e0e42c6582ece23d98f9b16082
parent0518160c770cf2c3d26f301d15a1a41517d59123 (diff)
Use more reflections in relrod calculation
-rw-r--r--src/relrod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/relrod.c b/src/relrod.c
index 793f8993..9595e110 100644
--- a/src/relrod.c
+++ b/src/relrod.c
@@ -90,9 +90,9 @@ void get_reflections(struct image *image, UnitCell *cell)
/* Determine where "right" is */
mapping_rotate(1.0, 0.0, 0.0, &rx, &ry, &rz, omega, tilt);
- for ( h=-20; h<20; h++ ) {
- for ( k=-20; k<20; k++ ) {
- for ( l=-20; l<20; l++ ) {
+ for ( h=-50; h<50; h++ ) {
+ for ( k=-50; k<50; k++ ) {
+ for ( l=-50; l<50; l++ ) {
double xl, yl, zl;
double a, b, c;