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
The following code fails:
@rjit('double(double, double)') def logaddexp(x, y): return np.logaddexp(x, y) x = np.log(1e-50) y = np.log(2.5e-50) logaddexp(x, y)
... rbc/tests/test_numpy_rjit.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rbc/remotejit.py:261: in __call__ atypes = tuple(Type.fromvalue(a, target_info) for a in arguments) rbc/remotejit.py:261: in <genexpr> atypes = tuple(Type.fromvalue(a, target_info) for a in arguments) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'rbc.typesystem.Type'>, obj = -115.12925464970229, target_info = <rbc.targetinfo.TargetInfo object at 0x10c5766d0> @classmethod def fromvalue(cls, obj, target_info): """Return Type instance that corresponds to given Python value. """ n = _python_imap.get(type(obj)) print(type(obj)) if n is not None: return cls.fromstring(n, target_info) > raise NotImplementedError('%s.fromvalue(%r)' % (cls.__name__, obj)) E NotImplementedError: Type.fromvalue(-115.12925464970229) rbc/typesystem.py:751: NotImplementedError
x and y have types numpy.float64.
x
y
numpy.float64
The text was updated successfully, but these errors were encountered:
See #39 (comment)
Sorry, something went wrong.
guilhermeleobas
Successfully merging a pull request may close this issue.
The following code fails:
x
andy
have typesnumpy.float64
.The text was updated successfully, but these errors were encountered: