Core: after refinement fails, reattempting causing a segfault
It's not clear what the exact sequence is to reproduce, but it seems like if a refinement fails, and the user attempts to re-refine, the code segfaults because one or more unit cells has a nullptr
unit cell (peak->unitCell()
).