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

Modification in Hjorth mobility and complexity #28

Open
Nine-s opened this issue Feb 7, 2019 · 1 comment
Open

Modification in Hjorth mobility and complexity #28

Nine-s opened this issue Feb 7, 2019 · 1 comment

Comments

@Nine-s
Copy link

Nine-s commented Feb 7, 2019

Hello, first thank you for this module!
For the calculation of Hjorth mobility and complexity, I got NaN returned.
It was because I was working with big numbers, TP has became negative and as a sqrt function is applied later on, the calculation was impossible.
I have solved the problem by adding "dtype = object" when declaring numpy array so I have enough space to store those numbers.
I hope it will help some poeple running this code!

@forrestbao
Copy link
Owner

Can you create a pull request?

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