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

Forbidden Control Character Error for imaginary element #459

Closed
skuschel opened this issue Nov 24, 2023 · 1 comment
Closed

Forbidden Control Character Error for imaginary element #459

skuschel opened this issue Nov 24, 2023 · 1 comment

Comments

@skuschel
Copy link

skuschel commented Nov 24, 2023

I believe that 397cc98 introduced a bug or at least it changed the behavior:

I used to do something like this, of course with x being a large array:

import numexpr as ne
x = 5
y = ne.evaluate('exp(1.j*x)')

As of the mentioned change, this gives me an "Expression has forbidden control character" error.
It works with ints e.g 'exp(1j*x)', but 'exp(1.5j*x)' is also raising the error.

@FrancescAlted
Copy link
Contributor

Fixed by #462

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

2 participants