Skip to content

Commit

Permalink
test versions back to 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
scottprahl committed May 7, 2024
1 parent 43cefb5 commit f361f0e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
python-version: ['3.8', '3.12']
python-version: ['3.6', '3.12']

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion miepython/miepython.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ def mie_cdf(m, x, num):
"""
mu = np.linspace(-1, 1, num)
intensity_per_mu = i_unpolarized(m, x, mu, norm='4pi') / num
cdf = np.cumsum(intensity_per_mu)
cdf = np.cumsum(intensity_per_mu)
return mu, cdf


Expand Down
2 changes: 1 addition & 1 deletion miepython/miepython_nojit.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def mie_cdf(m, x, num):
"""
mu = np.linspace(-1, 1, num)
intensity_per_mu = i_unpolarized(m, x, mu, norm='4pi') / num
cdf = np.cumsum(intensity_per_mu)
cdf = np.cumsum(intensity_per_mu)
return mu, cdf


Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def get_contents(filename):

setup(
name=project,
python_requires='>=3.6',
long_description=get_contents('README.rst'),
long_description_content_type='text/x-rst',
version=get_init_property('__version__'),
Expand Down

0 comments on commit f361f0e

Please sign in to comment.