-
Notifications
You must be signed in to change notification settings - Fork 21
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
Infinite loop on exponent somehow #89
Comments
That is because when you use a constant as is, in this case the number 4, as operator of a You can solve this being explicit about dtype of the exponent: x**Fxp(4)
# or
x**Fxp(4, dtype='some fixed-point dtype') |
Interesting. Should this produce a warning or raise an exception (probably the best route) or be a different behavior, or is that just impossible? It's not obvious what's happening and an infinite loop is probably not the programmer's intent. |
Yes, it could be! I think a good change can be modify the But the idea of the warning is really important in order be aware of this automatic sizing. Definitely I'll include this in next release. |
…nstant operator. Add warning message. issue #89
solved in v0.4.9 |
I don't know what particularly causes this, but it hangs forever.
The text was updated successfully, but these errors were encountered: