diff options
author | Thomas White <taw@physics.org> | 2019-08-28 13:30:11 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-08-28 13:30:11 +0200 |
commit | 941889a4d9fc9663d70f80eb63c79c73eafb06c9 (patch) | |
tree | e225d7b545448d0a0d4a11ba6f7c074309f64a26 | |
parent | da1de864442781c2bb993fc15a5c9dca18940e38 (diff) |
cell_explorer: Add a warning
-rw-r--r-- | src/cell_explorer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cell_explorer.c b/src/cell_explorer.c index 446aec5d..812e16d5 100644 --- a/src/cell_explorer.c +++ b/src/cell_explorer.c @@ -2040,6 +2040,9 @@ int main(int argc, char *argv[]) } w.cells[w.n_cells] = crystal_get_cell(cr); + if ( !right_handed(w.cells[w.n_cells]) ) { + ERROR("WARNING: Left-handed cell encountered\n"); + } w.indms[w.n_cells] = cur.indexed_by; w.n_cells++; |