diff --git a/misc/finitesqlatzsym-scatter.py b/misc/finitesqlatzsym-scatter.py index fc71c55..eeacee3 100755 --- a/misc/finitesqlatzsym-scatter.py +++ b/misc/finitesqlatzsym-scatter.py @@ -328,7 +328,7 @@ for action in actions: if math.isnan(klist[i,2]): continue kdir = klistdir[i] - phases = np.exp(np.sum(klist2d[i] * positions, axis=-1)) + phases = np.exp(np.sum(1j * klist2d[i] * positions, axis=-1)) if action == 0 or action is None: pq = np.array(qpms.plane_pq_y(lMax, kdir, xu)).ravel()[TEč] * phases[:, nx] xresult[i] = scat.scatter_partial(0, pq) diff --git a/setup.py b/setup.py index c696a9a..feac6ff 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ qpms_c = Extension('qpms_c', ) setup(name='qpms', - version = "0.2.13", + version = "0.2.14", packages=['qpms'], # setup_requires=['setuptools_cython'], install_requires=['cython>=0.21','quaternion','spherical_functions','py_gmm'],