IndexAndRefine: Don't allow zero size/very small volume
This commit is contained in:
1 parent
a6326b0377
commit
d84cb9079a
1 file changed
+3
@@ -70,6 +70,9 @@ IndexAndRefine::IndexingOutcome IndexAndRefine::DetermineLatticeAndSymmetry(Data
|
||||
return outcome;
|
||||
|
||||
auto latt = indexer_result.lattice[0];
|
||||
if (latt.CalcVolume() < 1.0)
|
||||
return outcome;
|
||||
|
||||
auto sg = experiment.GetGemmiSpaceGroup();
|
||||
|
||||
// If space group and cell provided => always enforce symmetry in refinement
|
||||
|
||||
Reference in new issue
Block a user