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

Overflow RuntimeWarning #367

Open
ouslan opened this issue Dec 8, 2024 · 0 comments
Open

Overflow RuntimeWarning #367

ouslan opened this issue Dec 8, 2024 · 0 comments

Comments

@ouslan
Copy link

ouslan commented Dec 8, 2024

There seems to be some overflow in line 197 in pygam/links.py. This is mostly cause by exceeding the float value. The easiest fix would be to clip the function with np.clip to a smaller value like 700 to prevent this overflow. I manage to fix it but will open the PR after #366 has been merge to main.

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

1 participant