Commit 368030b0 authored by Thomas White's avatar Thomas White
Browse files

Add more warnings

parent e5bd22e5
......@@ -583,6 +583,8 @@ static int check_cell(IndexingFlags flags, Crystal *cr, UnitCell *target,
/* Check at all? */
if ( !(flags & INDEXING_CHECK_CELL) ) return 0;
if ( !right_handed(target) ) STATUS("WARNING: reference cell is left handed\n");
if ( !right_handed(crystal_get_cell(cr)) ) STATUS("WARNING: unmatched cell is left handed\n");
out = compare_reindexed_cell_parameters(crystal_get_cell(cr), target,
tolerance, &rm);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment