Closed swhite2401 closed 1 year ago
@oscarxblanco sorry I overlooked the case where refpts=None
in the previous PR, this one should fix the issue.
Ok so I propose to merge this as it fixes an obvious bug, on the other hand it would be good to understand this segmentation fault, I you have more details could you report it as a separate issue (it is most likely originating from the c part of the code).
I usually never run LT calculation for the full lattice but rather on a subset of elements (typically magnets) so it is well possible that for very heavy computations some problems have passed through the various validations.
@swhite2401 ok, I will report the segmentation fault in another issue.
From my side, this fix could be merged.
PR #577 introduced a bug when
refpts=None
, this PR fixes this issue