-
Notifications
You must be signed in to change notification settings - Fork 165
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
PR for RuntimeWarning: divide by zero encountered in scalar divide #383
Comments
Hi! I got same error. |
Hi,
Unfortunately I still have the same error
…On Thu, Aug 22, 2024 at 3:51 AM MurakamiNatsuki ***@***.***> wrote:
Hi! I got same error.
Did you manage to solve it as in your example? Or is it still unresolved?
—
Reply to this email directly, view it on GitHub
<#383 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALDNI6ZJ62P4MDGCGT2MH2TZSU7Z5AVCNFSM6AAAAABL27FRXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBTGUYTOOBZGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thank you for your prompt reply! |
Thanks, I will also try to figure out and update if I find a solution.
2024년 8월 23일 (금) 02:48, MurakamiNatsuki ***@***.***>님이 작성:
… Thank you for your prompt reply!
I suspected it might be an issue with the version, but it seems that’s not
the case.
If you find out anything else, please let me know. I’ll also do some
research on my end.
—
Reply to this email directly, view it on GitHub
<#383 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALDNI6ZPNNVZWOQ277B6M2DZS2BFRAVCNFSM6AAAAABL27FRXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBVHE3TONRSG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got an error of zero division error as below:
To avoid such error, it seems necessary to do something e.g. to change line 172 from
t = (pos - lengths[i]) / (lengths[i + 1] - lengths[i])
tot = (pos - lengths[i]) / (lengths[i + 1] - lengths[i]) if (lengths[i + 1] - lengths[i]) else 0
.The text was updated successfully, but these errors were encountered: