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

ZeroDivisionError: float division by zero #13

Open
pygabc1 opened this issue Oct 9, 2020 · 0 comments
Open

ZeroDivisionError: float division by zero #13

pygabc1 opened this issue Oct 9, 2020 · 0 comments

Comments

@pygabc1
Copy link

pygabc1 commented Oct 9, 2020

Hi, how did you handle "ZeroDivisionError: float division by zero"?
Many lines occurred these problems, and it might result in the left singular vector(matrix) with all zero components.
For example, for
c = f/z, I modified to
c = (f/z if z != 0 else 0) (for python)

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