diff options
author | Thomas White <taw@physics.org> | 2010-01-22 15:50:41 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-01-22 15:50:41 +0100 |
commit | 75d30a3f2a7d8484575f5b6ba6ed07587dc19f1e (patch) | |
tree | 58c78fbccd5544eabe7d8484fbaf6358ed87327d /src/diffraction.c | |
parent | ef9281fb30a07b8ee099ada3e1f7a0a10cbca5c0 (diff) |
Add --near-bragg and --simulate options to indexamajig
Diffstat (limited to 'src/diffraction.c')
-rw-r--r-- | src/diffraction.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/diffraction.c b/src/diffraction.c index a0248450..b7bdb75a 100644 --- a/src/diffraction.c +++ b/src/diffraction.c @@ -142,7 +142,9 @@ void get_diffraction(struct image *image, int na, int nb, int nc) double a, b, c, d; /* Generate the array of reciprocal space vectors in image->qvecs */ - get_ewald(image); + if ( image->qvecs == NULL ) { + get_ewald(image); + } if ( image->molecule == NULL ) { image->molecule = load_molecule(); |