Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Update num_compositions #375

Merged
merged 2 commits into from
Jan 3, 2018
Merged

Conversation

QBatista
Copy link
Member

Use scipy.special.comb instead of scipy.misc.comb as scipy.misc.comb is deprecated in scipy 1.0.0.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.791% when pulling 4d91490 on QBatista:fix_num_compositions into 296e595 on QuantEcon:master.

@@ -281,4 +281,4 @@ def num_compositions(m, n):

"""
# docs.scipy.org/doc/scipy/reference/generated/scipy.misc.comb.html
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update this commit as well.

@oyamad oyamad added the ready label Dec 23, 2017
@sglyon
Copy link
Member

sglyon commented Dec 27, 2017

LGTM

Do we need to update a requirements.txt or something like that to note that these changes require spicy >= 1.0?

@oyamad
Copy link
Member

oyamad commented Jan 1, 2018

comb was moved to scipy.special some time ago, by scipy/scipy@c430bed.

@mmcky
Copy link
Contributor

mmcky commented Jan 2, 2018

@sglyon most of our requirements files don't specify versions (so they should default to latest). But are you suggesting we should put scipy > 1.0?

@oyamad
Copy link
Member

oyamad commented Jan 3, 2018

@mmcky I don't think we need specify a version for scipy. comb has been there in scipy.special since 0.14, and the current Anaconda has scipy 0.19.1.

@mmcky mmcky merged commit 828aaf2 into QuantEcon:master Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants