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

[Bug]: RuntimeWarning: divide by zero encountered in divide #2

Open
1 task done
ZenithClown opened this issue May 16, 2024 · 0 comments
Open
1 task done

[Bug]: RuntimeWarning: divide by zero encountered in divide #2

ZenithClown opened this issue May 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ZenithClown
Copy link
Member

Contact Details (optional)

No response

What happened?

allocation.py:233: RuntimeWarning: divide by zero encountered in divide is encountered when input is either null, or the value is set to zero on treating input array with outlier detection and elimination.

Python Version

3.9 (default)

What type of operating system are you using?

Windows 11, Linux (debian/ubuntu/mint/etc.)

Relevant System Configuration

No response

Relevant log output

obj = dmoop.Linear2DAllocation(xs = xs, senses = sense, drop_outliers = True, outlier_direction = (None, "right"))

beta = obj.beta(methods = [np.mean, np.min], factors = [1, 100]); print(beta)
print(beta)

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ZenithClown ZenithClown added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant