Skip to content

Commit 64e587b

Browse files
committed
twins fix
1 parent 2f0fd99 commit 64e587b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

GSASII/GSASIIstrMath.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,6 @@ def MakePolar(Orient,QB):
544544
else:
545545
BS = sp.spherical_jn(l,QR*R) #Bessel function
546546
dBS = sp.spherical_jn(l,QR*R,True)*QR
547-
# BSP = sp.spherical_jn(l,QR*(R+0.01))
548-
# BSM = sp.spherical_jn(l,QR*(R-0.01))
549547
dBSdR += Nat*SFF*SH*Shell[item]*dBS
550548
dSHdO += Nat*SFF*BS*Shell[item]*(SHP-SHM)/0.0002
551549
dSHdOi += Nat*SFF*BS*Shell[item]*(SHPi-SHMi)/(2.*dp)
@@ -1201,9 +1199,10 @@ def StructureFactor2(refDict,G,hfx,pfx,SGData,calcControls,parmDict):
12011199
Uniq = np.inner(H,SGMT)
12021200
Phi = np.inner(H,SGT)
12031201
nOps = len(SGMT)
1204-
if SGData['SGInv']:
1202+
if SGData['SGInv']: #extend by inversion op
12051203
Uniq = np.hstack((Uniq,-Uniq))
12061204
Phi = np.hstack((Phi,-Phi))
1205+
TwMask = np.hstack((TwMask,TwMask))
12071206
nOps *= 2
12081207
if 'T' in hType:
12091208
if 'P' in calcControls[hfx+'histType']:

0 commit comments

Comments
 (0)