diff options
Diffstat (limited to 'src/reflections.c')
-rw-r--r-- | src/reflections.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reflections.c b/src/reflections.c index 8bfa7ff..58a7992 100644 --- a/src/reflections.c +++ b/src/reflections.c @@ -235,6 +235,8 @@ ReflectionList *reflection_list_from_cell(Basis *basis) { double x, y, z; + if ( h != 0 ) continue; + x = h*basis->a.x + k*basis->b.x + l*basis->c.x; y = h*basis->a.y + k*basis->b.y + l*basis->c.y; z = h*basis->a.z + k*basis->b.z + l*basis->c.z; |