We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If termgraph is used as a module and a value is 0, a ValueError: math domain error is thrown by math.log in utils.py::cvt_to_readable(num) here:
ValueError: math domain error
math.log
utils.py::cvt_to_readable(num)
termgraph/termgraph/utils.py
Line 16 in 09e17cc
Problem is that there is there is no zero check for num. This is done correctly in termgraph.py::cvt_to_readable(num):
termgraph.py::cvt_to_readable(num)
termgraph/termgraph/termgraph.py
Line 197 in 4aa3b67
The text was updated successfully, but these errors were encountered:
I made a pull request to fix this.
Sorry, something went wrong.
No branches or pull requests
If termgraph is used as a module and a value is 0, a
ValueError: math domain error
is thrown bymath.log
inutils.py::cvt_to_readable(num)
here:termgraph/termgraph/utils.py
Line 16 in 09e17cc
Problem is that there is there is no zero check for num. This is done correctly in
termgraph.py::cvt_to_readable(num)
:termgraph/termgraph/termgraph.py
Line 197 in 4aa3b67
The text was updated successfully, but these errors were encountered: