Restoring the original functionality of zJn with new scipy.

Former-commit-id: ad4f96885390387cb74c36a7b08a58094e3d62e5
This commit is contained in:
Marek Nečada 2019-02-27 10:25:24 +02:00
parent 0add6f9428
commit 46edafddf7
2 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ _sph_zn = [_sph_zn_1,_sph_zn_2,_sph_zn_3,_sph_zn_4]
# computes bessel/hankel functions for orders from 0 up to n;
#@jit
def zJn(n, z, J=1):
return (_sph_zn[J-1](n=n,z=z,derivative=False), _sph_zn[J-1](n=n,z=z,derivative=True))
return (_sph_zn[J-1](n=np.arange(n+1),z=z,derivative=False), _sph_zn[J-1](n=np.arange(n+1),z=z,derivative=True))

View File

@ -40,7 +40,7 @@ setup(name='qpms',
version = "0.2.994",
packages=['qpms'],
setup_requires=['cython>0.28'],
install_requires=['cython>=0.21','quaternion','spherical_functions','scipy>=0.14.0'
install_requires=['cython>=0.21','quaternion','spherical_functions','scipy>=0.18.0'
#'py_gmm' # no longer needed
],
# TODO implement https://stackoverflow.com/questions/17366784/setuptools-unable-to-use-link-from-dependency-links and update README.md accordingly