Changeset 3329 for trunk/GSASIImath.py


Ignore:
Timestamp:
Mar 30, 2018 2:25:41 PM (5 years ago)
Author:
vondreele
Message:

fix 2 integer divide errors in the Omit map routine
fix error detection for missing structure factors for fourier & charge flip routines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r3318 r3329  
    30713071    M = np.mgrid[0:4,0:4,0:4]
    30723072    blkIds = np.array(list(zip(M[0].flatten(),M[1].flatten(),M[2].flatten())))
    3073     iBeg = blkIds*rho0.shape/4
    3074     iFin = (blkIds+1)*rho0.shape/4
     3073    iBeg = blkIds*rho0.shape//4
     3074    iFin = (blkIds+1)*rho0.shape//4
    30753075    rho_omit = np.zeros_like(rho0)
    30763076    nBlk = 0
Note: See TracChangeset for help on using the changeset viewer.