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

x+im = 0 is linear? #1199

Open
n0rbed opened this issue Jul 30, 2024 · 1 comment
Open

x+im = 0 is linear? #1199

n0rbed opened this issue Jul 30, 2024 · 1 comment

Comments

@n0rbed
Copy link
Member

n0rbed commented Jul 30, 2024

julia> @variables x
1-element Vector{Num}:
 x

julia> Symbolics.solve_for(x+im, x)
ERROR: AssertionError: islinear
@ChrisRackauckas
Copy link
Member

Indeed it seems like the islinear function is currently not complex-aware so it it throws more safety errors than it should. This function should get expanded. I think solve_for may need some handling for complex as well though.

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