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

TypeError issue with Subspaces.partition() #47

Open
milesabarr opened this issue Jul 6, 2017 · 1 comment
Open

TypeError issue with Subspaces.partition() #47

milesabarr opened this issue Jul 6, 2017 · 1 comment

Comments

@milesabarr
Copy link

milesabarr commented Jul 6, 2017

Just starting to learn and try to use active_subspaces, but I ran into an issue with Subspaces.partition() where the type of n was np.int64, and not an int, which gave me an error. I edited my code in subspaces.py, line 173 to be as follows:

if 'int' not in str(type(n)):

You might find this clunky, but it works. I figured you would want to know about this and change your code accordingly.

@mathematicalmichael
Copy link

addressed in #52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants